Skip to content

Commit

Permalink
dovecot.service: Disabled ProtectSystem=full for now
Browse files Browse the repository at this point in the history
It's not supported by RHEL7's systemd.
  • Loading branch information
sirainen committed Feb 19, 2016
1 parent 0368f3b commit f5d30c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dovecot.service.in
Expand Up @@ -28,10 +28,10 @@ ExecStart=@sbindir@/dovecot
PIDFile=@statedir@dovecot/master.pid
ExecReload=@bindir@/doveadm reload
ExecStop=@bindir@/doveadm stop
ProtectSystem=full
ProtectHome=false
PrivateTmp=true
NonBlocking=yes
# Enable this if your systemd is new enough to support it:
#ProtectSystem=full

[Install]
WantedBy=multi-user.target

1 comment on commit f5d30c9

@candrews
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's no reason to disable these options - according to the systemd documentation at https://www.freedesktop.org/software/systemd/man/systemd.unit.html :

If systemd encounters an unknown option, it will write a warning log message but continue loading the unit.

So it's fine to leave in options that older versions may not understand - they'll simply be ignored.

Please sign in to comment.