25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-20 16:15:59 +01: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:
Holger Weiss 2018-06-07 17:40:05 +02:00
parent 40185b6bd3
commit 00534d4566

View File

@ -13,6 +13,7 @@ ExecStart=/bin/sh -c '@ctlscriptpath@/ejabberdctl start && @ctlscriptpath@/ejabb
ExecStop=/bin/sh -c '@ctlscriptpath@/ejabberdctl stop && @ctlscriptpath@/ejabberdctl stopped'
ExecReload=@ctlscriptpath@/ejabberdctl reload_config
PrivateDevices=true
TimeoutSec=300
[Install]
WantedBy=multi-user.target