Update test.sh

This commit is contained in:
2019-02-06 19:44:50 -06:00
parent 15133ad70e
commit b9f27d79f6

10
test.sh
View File

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