Omit "ProtectSystem" option from systemd unit

With "ProtectSystem", /usr is mounted read-only, so things will fail
when e.g. /usr/local is used as the installation prefix.  Whether such
options make sense depends on the environment, so they should rather be
set by package maintainers and/or admins.
This commit is contained in:
Holger Weiss 2017-10-28 21:31:04 +02:00
parent dbdda745af
commit ed792274e3
1 changed files with 0 additions and 1 deletions

View File

@ -13,7 +13,6 @@ ExecStart=/bin/sh -c '@ctlscriptpath@/ejabberdctl start && @ctlscriptpath@/ejabb
ExecStop=/bin/sh -c '@ctlscriptpath@/ejabberdctl stop && @ctlscriptpath@/ejabberdctl stopped'
ExecReload=@ctlscriptpath@/ejabberdctl reload_config
PrivateDevices=true
ProtectSystem=full
[Install]
WantedBy=multi-user.target