diff options
author | Holger Weiss <holger@zedat.fu-berlin.de> | 2016-10-19 23:37:26 +0200 |
---|---|---|
committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2016-10-19 23:37:26 +0200 |
commit | 0a3fcc9adea3db4c92bbb2a6d9d2b8ff5b8c8675 (patch) | |
tree | fc342f7896e485e781fe394b286c84e459b907c8 | |
parent | Let 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.
-rw-r--r-- | ejabberd.service.template | 1 |
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 |