From 6f2b0179e7a135794d7c4f893fcf723554361142 Mon Sep 17 00:00:00 2001 From: Christophe Romain Date: Fri, 17 Jun 2016 17:09:45 +0200 Subject: [PATCH] Give more time to stop and kill epmd (#882) --- ejabberdctl.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ejabberdctl.template b/ejabberdctl.template index 7a3b589b9..a5dc665a7 100755 --- a/ejabberdctl.template +++ b/ejabberdctl.template @@ -441,6 +441,6 @@ case "${ARGS[0]}" in 'ping'*) ping ${ARGS[1]};; 'etop') etop;; 'started') wait_for_status 0 30 2;; # wait 30x2s before timeout - 'stopped') wait_for_status 3 15 2 && stop_epmd;; # wait 15x2s before timeout + 'stopped') wait_for_status 3 30 2 && stop_epmd;; # wait 30x2s before timeout *) ctl "${ARGS[@]}";; esac