aboutsummaryrefslogtreecommitdiff
path: root/ejabberd.service.template
diff options
context:
space:
mode:
authorHolger Weiss <holger@zedat.fu-berlin.de>2017-10-28 21:31:04 +0200
committerHolger Weiss <holger@zedat.fu-berlin.de>2017-10-28 21:31:04 +0200
commited792274e3d9832929d47627a95ccfbf6182f222 (patch)
tree83a41eacd80c414480dcf9b527d2ca9e1afb3bf5 /ejabberd.service.template
parentDelete cached item on node removal (#2071) (diff)
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.
Diffstat (limited to 'ejabberd.service.template')
-rw-r--r--ejabberd.service.template1
1 files changed, 0 insertions, 1 deletions
diff --git a/ejabberd.service.template b/ejabberd.service.template
index 542f57a3d..63100cb5e 100644
--- a/ejabberd.service.template
+++ b/ejabberd.service.template
@@ -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