mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-20 17:27:00 +01:00
Specify "ExecReload" command in systemd unit
Now that "ejabberdctl reload_config" works the way most admins would expect, expose the command via systemd.
This commit is contained in:
parent
e7901f9d70
commit
519f3db6b6
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user