Log Atualiza TAR EE ADM
parent
01f1a47bda
commit
51657f07f5
|
@ -100,7 +100,7 @@ case $service in
|
||||||
systemctl restart $cliente
|
systemctl restart $cliente
|
||||||
echo -e " "
|
echo -e " "
|
||||||
echo -e "aguardando $cliente subir..."
|
echo -e "aguardando $cliente subir..."
|
||||||
URL="http://$IPPRIV:$portapp/VentaBoletosServidor"
|
URL="http://$IPPRIV:$portapp"
|
||||||
while true; do
|
while true; do
|
||||||
STATUS_CODE=$(curl -o /dev/null -s -w "%{http_code}" "$URL")
|
STATUS_CODE=$(curl -o /dev/null -s -w "%{http_code}" "$URL")
|
||||||
if [ "$STATUS_CODE" -eq 200 ]; then
|
if [ "$STATUS_CODE" -eq 200 ]; then
|
||||||
|
|
Loading…
Reference in New Issue