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 ""