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
|
||||
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user