shutdown fix
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user