From 00534d4566f2fd1da0783c04dcb0bda43bf15ddd Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Thu, 7 Jun 2018 17:40:05 +0200 Subject: [PATCH] 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. --- ejabberd.service.template | 1 + 1 file changed, 1 insertion(+) 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