Update test.sh
This commit is contained in:
8
test.sh
8
test.sh
@@ -26,8 +26,8 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
echo -en "${idsCL[LightYellow]}Waiting for nginx config replication across the nodes... ${idsCL[Default]}"
|
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]}"
|
PH_CMD="ssh root@${WEB_HOSTS[0]}"
|
||||||
echo "HERE: ${PH_CMD}"
|
echo "HERE: ${PH_CMD}"
|
||||||
${PH_CMD} rm -f /etc/nginx/test.repl
|
${PH_CMD} rm -f /etc/nginx/test.repl
|
||||||
@@ -40,6 +40,6 @@ if [ "${1}" = "nginx" ]; then
|
|||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
fi
|
|
||||||
fi
|
|
||||||
echo -e "${idsCL[Green]}Completed${idsCL[Default]}"
|
echo -e "${idsCL[Green]}Completed${idsCL[Default]}"
|
||||||
Reference in New Issue
Block a user