Update test.sh
This commit is contained in:
10
test.sh
10
test.sh
@@ -18,11 +18,7 @@ if [ "`git log --pretty=%H ...refs/heads/master^ | head -n 1`" != "`git ls-remot
|
|||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo -en "${idsCL[LightYellow]}Waiting for certifcate replication between the nodes...${idsCL[Default]}"
|
test='a'
|
||||||
until [ "${same}" = "" ]; do
|
test+='b'
|
||||||
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`
|
echo test
|
||||||
done
|
|
||||||
|
|
||||||
#sleep 20
|
|
||||||
SERVICE nginx reload
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user