diff options
author | Holger Weiss <holger@zedat.fu-berlin.de> | 2018-06-07 17:40:05 +0200 |
---|---|---|
committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2018-06-07 17:40:05 +0200 |
commit | 00534d4566f2fd1da0783c04dcb0bda43bf15ddd (patch) | |
tree | 8175d37cf7d84d5c1b0a4efa57fcf89a48dab020 | |
parent | Add ability to modify version string (diff) |
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.
-rw-r--r-- | ejabberd.service.template | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ejabberd.service.template b/ejabberd.service.template index 63100cb5e..d32353b41 100644 --- a/ejabberd.service.template +++ b/ejabberd.service.template @@ -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 |