2017-02-27 09:23:36 +00:00
|
|
|
diff -up dovecot-2.2.28/dovecot.service.in.systemd_w_protectsystem dovecot-2.2.28/dovecot.service.in
|
|
|
|
--- dovecot-2.2.28/dovecot.service.in.systemd_w_protectsystem 2017-02-27 10:00:14.647423500 +0100
|
|
|
|
+++ dovecot-2.2.28/dovecot.service.in 2017-02-27 10:02:18.051377067 +0100
|
|
|
|
@@ -20,8 +20,8 @@ ExecReload=@bindir@/doveadm reload
|
|
|
|
ExecStop=@bindir@/doveadm stop
|
2016-03-16 12:58:24 +00:00
|
|
|
PrivateTmp=true
|
|
|
|
NonBlocking=yes
|
2016-08-09 08:19:05 +00:00
|
|
|
-# Enable this if your systemd is new enough to support it:
|
2016-03-16 12:58:24 +00:00
|
|
|
-#ProtectSystem=full
|
2016-08-09 08:19:05 +00:00
|
|
|
+# Enable this if your systemd is new enough to support it: (it will make /usr /boot /etc read only for dovecot)
|
2016-03-16 12:58:24 +00:00
|
|
|
+ProtectSystem=full
|
|
|
|
|
2017-02-27 09:23:36 +00:00
|
|
|
# You can add environment variables with e.g.:
|
|
|
|
#Environment='CORE_OUTOFMEM=1'
|