2016-03-16 12:58:24 +00:00
|
|
|
diff -up dovecot-2.2.22/dovecot.service.in.systemd_w_protectsystem dovecot-2.2.22/dovecot.service.in
|
|
|
|
--- dovecot-2.2.22/dovecot.service.in.systemd_w_protectsystem 2016-03-16 13:49:46.678894652 +0100
|
|
|
|
+++ dovecot-2.2.22/dovecot.service.in 2016-03-16 13:49:46.690894592 +0100
|
|
|
|
@@ -33,7 +33,7 @@ ExecStop=@bindir@/doveadm stop
|
|
|
|
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
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|