shutdown fix

This commit is contained in:
Oleg Sheynin 2023-04-24 18:48:40 -04:00
parent 8c3e92d094
commit e9a07b1b74
2 changed files with 4 additions and 4 deletions

View File

@ -1 +1 @@
0.0.8 0.0.9

View File

@ -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