diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 87cc8fac..b0ed01d2 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -369,15 +369,15 @@ NEWCERT(){ echo -e "${idsCL[LightGreen]}Requesting Certificate for '${idsCL[Yellow]}${NEW_CERT}${idsCL[LightGreen]}'...${idsCL[Default]}" echo "" - echo -en "${idsCL[LightYellow]}Stopping other Webservers... ${idsCL[Default]}" - 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} - fi - done - echo -e "${idsCL[Green]}Completed${idsCL[Default]}" - echo + # echo -en "${idsCL[LightYellow]}Stopping other Webservers... ${idsCL[Default]}" + # 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} + # fi + # done + # echo -e "${idsCL[Green]}Completed${idsCL[Default]}" + # echo #$CERT_DAEMON certonly --webroot -w /var/www/html -d ${NEW_CERT} $CERT_DAEMON certonly --dry-run --webroot -w /var/www/html -d ${NEW_CERT} @@ -424,15 +424,15 @@ NEWCERT(){ echo -e "${idsCL[Red]}Certificate could not be created for '${idsCL[Yellow]}${NEW_CERT}${idsCL[Red]}'...${idsCL[Default]}" fi - echo - echo -en "${idsCL[LightYellow]}Starting other Webservers... ${idsCL[Default]}" - 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} - fi - done - echo -e "${idsCL[Green]}Completed${idsCL[Default]}" + # echo + # echo -en "${idsCL[LightYellow]}Starting other Webservers... ${idsCL[Default]}" + # 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} + # fi + # done + # echo -e "${idsCL[Green]}Completed${idsCL[Default]}" echo "" if [ -z $action ] || [ "${action}" = "gui" ]; then