Update test.sh

This commit is contained in:
2019-02-06 13:16:58 -06:00
parent 66ff111e03
commit ff01f1a049

10
test.sh
View File

@@ -18,9 +18,11 @@ if [ "`git log --pretty=%H ...refs/heads/master^ | head -n 1`" != "`git ls-remot
exit 0
fi
s=1
for srvcopt in "${NM_SRVCOPT[@]}"; do
echo " [${s}] ${srvcopt~}"
s=`expr $s + 1`
echo -en "${idsCL[LightYellow]}Waiting for certifcate replication between the nodes...${idsCL[Default]}"
until [ $(`ssh root@10.5.10.52 "cat /etc/letsencrypt/live/test2.scity.us/cert.pem" | diff - /etc/letsencrypt/live/test2.scity.us/cert.pem`) = 0 ]; do
echo ""
done
#sleep 20
SERVICE nginx reload