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
|
||||
while (timeout 3 curl -s localhost:${ServicePort}/ping > /dev/null)
|
||||
do
|
||||
echo "Shutting down localhost:${ServicePort}/shutdown ..."
|
||||
timeout 10 curl -s localhost:${ServicePort}/shutdown
|
||||
echo "Shutting down localhost:${ServicePort}/__shutdown__ ..."
|
||||
timeout 10 curl -s localhost:${ServicePort}/__shutdown__
|
||||
sleep 1
|
||||
done
|
||||
}
|
||||
|
||||
@ -111,7 +112,6 @@ then
|
||||
fi
|
||||
|
||||
start_it
|
||||
|
||||
while true
|
||||
do
|
||||
check_it
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user