shutdown fix
This commit is contained in:
parent
8c3e92d094
commit
e9a07b1b74
@ -1 +1 @@
|
|||||||
0.0.8
|
0.0.9
|
||||||
@ -89,8 +89,9 @@ function kill_it {
|
|||||||
fi
|
fi
|
||||||
while (timeout 3 curl -s localhost:${ServicePort}/ping > /dev/null)
|
while (timeout 3 curl -s localhost:${ServicePort}/ping > /dev/null)
|
||||||
do
|
do
|
||||||
echo "Shutting down localhost:${ServicePort}/shutdown ..."
|
echo "Shutting down localhost:${ServicePort}/__shutdown__ ..."
|
||||||
timeout 10 curl -s localhost:${ServicePort}/shutdown
|
timeout 10 curl -s localhost:${ServicePort}/__shutdown__
|
||||||
|
sleep 1
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -111,7 +112,6 @@ then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
start_it
|
start_it
|
||||||
|
|
||||||
while true
|
while true
|
||||||
do
|
do
|
||||||
check_it
|
check_it
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user