Update test.sh

This commit is contained in:
2019-02-06 13:27:02 -06:00
parent f23c20b2d1
commit f0690ecc49

View File

@@ -19,8 +19,8 @@ if [ "`git log --pretty=%H ...refs/heads/master^ | head -n 1`" != "`git ls-remot
fi
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` ]; do
echo -e ""
until [ ${same} = 0 ]; 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