Update test.sh

This commit is contained in:
2019-04-14 21:40:55 -05:00
parent 9b38fe92b0
commit 60595963d9

View File

@@ -26,8 +26,8 @@ fi
echo -en "${idsCL[LightYellow]}Waiting for nginx config replication across the nodes... ${idsCL[Default]}"
if [ "${1}" = "nginx" ]; then
if [ "${2}" = "restart" ] || [ "${2}" = "reload" ]; then
PH_CMD="ssh root@${WEB_HOSTS[0]}"
echo "HERE: ${PH_CMD}"
${PH_CMD} rm -f /etc/nginx/test.repl
@@ -40,6 +40,6 @@ if [ "${1}" = "nginx" ]; then
done
fi
done
fi
fi
echo -e "${idsCL[Green]}Completed${idsCL[Default]}"