aboutsummaryrefslogtreecommitdiff
path: root/ejabberd.service.template
diff options
context:
space:
mode:
authorHolger Weiss <holger@zedat.fu-berlin.de>2016-10-19 23:37:26 +0200
committerHolger Weiss <holger@zedat.fu-berlin.de>2016-10-19 23:37:26 +0200
commit0a3fcc9adea3db4c92bbb2a6d9d2b8ff5b8c8675 (patch)
treefc342f7896e485e781fe394b286c84e459b907c8 /ejabberd.service.template
parentLet systemd restart ejabberd on failure (diff)
Don't specify "ExecReload" command in systemd unit
The "reload_config" command doesn't work the way admins would typically expect, so it shouldn't be exposed via systemd. Those who understand the behavior can execute the command using ejabberdctl.
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 ff159f85c..80f023889 100644
--- a/ejabberd.service.template
+++ b/ejabberd.service.template
@@ -11,7 +11,6 @@ Restart=on-failure
RestartSec=5
ExecStart=@ctlscriptpath@/ejabberdctl start
ExecStop=@ctlscriptpath@/ejabberdctl stop
-ExecReload=@ctlscriptpath@/ejabberdctl reload_config
PrivateDevices=true
ProtectSystem=full