mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
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.
This commit is contained in:
parent
7621564839
commit
0a3fcc9ade
@ -11,7 +11,6 @@ Restart=on-failure
|
|||||||
RestartSec=5
|
RestartSec=5
|
||||||
ExecStart=@ctlscriptpath@/ejabberdctl start
|
ExecStart=@ctlscriptpath@/ejabberdctl start
|
||||||
ExecStop=@ctlscriptpath@/ejabberdctl stop
|
ExecStop=@ctlscriptpath@/ejabberdctl stop
|
||||||
ExecReload=@ctlscriptpath@/ejabberdctl reload_config
|
|
||||||
PrivateDevices=true
|
PrivateDevices=true
|
||||||
ProtectSystem=full
|
ProtectSystem=full
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user