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