From 2057219dced9726319cbd7b5bc69db9c520d3c82 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Wed, 3 Apr 2019 19:43:46 -0500 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 14d393ca..0b8b95fd 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -371,8 +371,8 @@ NEWCERT(){ for nip in "${WEB_HOSTS[@]}"; do if [[ $(/sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1) != *"${nip}"* ]]; then - # `ssh root@${nip} service nginx stop` - SERVICE nginx stop ${nip} + `ssh root@${nip} service nginx stop` + # SERVICE nginx stop ${nip} fi done @@ -422,8 +422,8 @@ NEWCERT(){ fi for nip in "${WEB_HOSTS[@]}"; do if [[ $(/sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1) != *"${nip}"* ]]; then - # `ssh root@${nip} service nginx start` - SERVICE nginx start ${nip} + `ssh root@${nip} service nginx start` + # SERVICE nginx start ${nip} fi done echo ""