]> granicus.if.org Git - ejabberd/commitdiff
Don't specify "ExecReload" command in systemd unit
authorHolger Weiss <holger@zedat.fu-berlin.de>
Wed, 19 Oct 2016 21:37:26 +0000 (23:37 +0200)
committerHolger Weiss <holger@zedat.fu-berlin.de>
Wed, 19 Oct 2016 21:37:26 +0000 (23:37 +0200)
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.

ejabberd.service.template

index ff159f85c14e65e0d9b23e89b5e3bd9e40b0bcca..80f0238893d0e600e8b36985cff8f13d822dbfa4 100644 (file)
@@ -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