mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-20 17:27:00 +01:00
Let systemd restart ejabberd on failure
The "RestartSec=5" setting has no effect if "Restart" is not also specified.
This commit is contained in:
parent
686305bb21
commit
7621564839
@ -7,6 +7,7 @@ Type=forking
|
||||
User=ejabberd
|
||||
Group=ejabberd
|
||||
LimitNOFILE=16000
|
||||
Restart=on-failure
|
||||
RestartSec=5
|
||||
ExecStart=@ctlscriptpath@/ejabberdctl start
|
||||
ExecStop=@ctlscriptpath@/ejabberdctl stop
|
||||
|
Loading…
Reference in New Issue
Block a user