shutdown fix

This commit is contained in:
2023-04-24 18:48:40 -04:00
parent 8c3e92d094
commit e9a07b1b74
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -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