wait longer

This commit is contained in:
j 2016-02-13 16:34:48 +05:30
parent 01a3d9d38f
commit 0416e1719f

2
ctl
View file

@ -112,7 +112,7 @@ if [ "$1" == "stop" ]; then
do do
sleep 1 sleep 1
waited=$(($waited+1)) waited=$(($waited+1))
if [ $waited -gt 11 ]; then if [ $waited -gt 60 ]; then
kill -9 $_PID kill -9 $_PID
sleep 1 sleep 1
fi fi