mirror of
https://github.com/processone/ejabberd
synced 2025-10-03 17:59:31 +02:00
Increase start-up/stop timeout in systemd unit
On slow systems, it can take quite a while for "ejabberdctl started" and/or "ejabberdctl stopped" to return.
This commit is contained in:
parent
40185b6bd3
commit
00534d4566
1 changed files with 1 additions and 0 deletions
|
@ -13,6 +13,7 @@ ExecStart=/bin/sh -c '@ctlscriptpath@/ejabberdctl start && @ctlscriptpath@/ejabb
|
||||||
ExecStop=/bin/sh -c '@ctlscriptpath@/ejabberdctl stop && @ctlscriptpath@/ejabberdctl stopped'
|
ExecStop=/bin/sh -c '@ctlscriptpath@/ejabberdctl stop && @ctlscriptpath@/ejabberdctl stopped'
|
||||||
ExecReload=@ctlscriptpath@/ejabberdctl reload_config
|
ExecReload=@ctlscriptpath@/ejabberdctl reload_config
|
||||||
PrivateDevices=true
|
PrivateDevices=true
|
||||||
|
TimeoutSec=300
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue