From: Holger Weiss Date: Wed, 19 Oct 2016 21:37:26 +0000 (+0200) Subject: Don't specify "ExecReload" command in systemd unit X-Git-Tag: 16.12-beta1~15^2^2~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0a3fcc9adea3db4c92bbb2a6d9d2b8ff5b8c8675;p=ejabberd 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. --- 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