diff options
author | Holger Weiss <holger@zedat.fu-berlin.de> | 2017-02-23 18:16:56 +0100 |
---|---|---|
committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2017-02-23 18:16:56 +0100 |
commit | 519f3db6b63dc9cca8b00d1a6c218b46e6462c09 (patch) | |
tree | 0bebd9267dc13f1251e2a9468fce18618f0b4b39 /ejabberd.service.template | |
parent | Prepare mix for 17.03 (diff) |
Specify "ExecReload" command in systemd unit
Now that "ejabberdctl reload_config" works the way most admins would
expect, expose the command via systemd.
Diffstat (limited to 'ejabberd.service.template')
-rw-r--r-- | ejabberd.service.template | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ejabberd.service.template b/ejabberd.service.template index a70d2254d..542f57a3d 100644 --- a/ejabberd.service.template +++ b/ejabberd.service.template @@ -11,6 +11,7 @@ Restart=on-failure RestartSec=5 ExecStart=/bin/sh -c '@ctlscriptpath@/ejabberdctl start && @ctlscriptpath@/ejabberdctl started' ExecStop=/bin/sh -c '@ctlscriptpath@/ejabberdctl stop && @ctlscriptpath@/ejabberdctl stopped' +ExecReload=@ctlscriptpath@/ejabberdctl reload_config PrivateDevices=true ProtectSystem=full |