From ff01f1a0492a9c88d5ed78ecba115e159f1f196a Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Wed, 6 Feb 2019 13:16:58 -0600 Subject: [PATCH] Update test.sh --- test.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/test.sh b/test.sh index 2471cf0..da850a7 100755 --- a/test.sh +++ b/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 +