]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
dovecot.service: Add OOMPolicy=continue
authorMarkus Valentin <markus.valentin@open-xchange.com>
Fri, 10 Nov 2023 09:14:36 +0000 (10:14 +0100)
committerMarkus Valentin <markus.valentin@open-xchange.com>
Fri, 10 Nov 2023 09:19:19 +0000 (10:19 +0100)
Set OOMPolicy to continue to prevent one process of the dovecot
unit being killed by the OOM killer stopping the whole unit.

dovecot.service.in

index f018cbcf6ec853e503b4d6d663c056a204fc3974..1f5bf785e0ccd178182375845fc80c0d7b7ded4a 100644 (file)
@@ -23,6 +23,7 @@ NonBlocking=yes
 ProtectSystem=full
 ProtectHome=no
 PrivateDevices=true
+OOMPolicy=continue
 
 # You can add environment variables with e.g.:
 #Environment='CORE_OUTOFMEM=1'