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
1 changed files with 1 additions and 0 deletions

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