From 2863f50791204b8084e1538f518aae350e9cbe8f Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Fri, 13 Sep 2019 02:10:36 -0400 Subject: [PATCH] Set OOM properties on mailpopbox.service. --- deployment/mailpopbox.service | 2 ++ 1 file changed, 2 insertions(+) diff --git a/deployment/mailpopbox.service b/deployment/mailpopbox.service index d9dd402..7e371bd 100644 --- a/deployment/mailpopbox.service +++ b/deployment/mailpopbox.service @@ -12,6 +12,8 @@ ExecStopPost=/sbin/iptables -t nat -D PREROUTING -p tcp --dport 25 -j REDIRECT - PermissionsStartOnly=true User=mailpopbox Group=mailpopbox +OOMScoreAdjust=-1000 +OOMPolicy=continue [Install] WantedBy=multi-user.target -- 2.43.5