25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-24 16:23:40 +01:00

Give more time to stop and kill epmd (#882)

This commit is contained in:
Christophe Romain 2016-06-17 17:09:45 +02:00
parent 8583958268
commit 6f2b0179e7

View File

@ -441,6 +441,6 @@ case "${ARGS[0]}" in
'ping'*) ping ${ARGS[1]};; 'ping'*) ping ${ARGS[1]};;
'etop') etop;; 'etop') etop;;
'started') wait_for_status 0 30 2;; # wait 30x2s before timeout '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[@]}";; *) ctl "${ARGS[@]}";;
esac esac