From ca37f0dedff2cc5686af545d9ee3d6a9c6f9bf7b Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Mon, 23 Jan 2023 21:02:47 -0600 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index bc39d6b9..1fe94994 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -2061,26 +2061,6 @@ SINGLE_SERVER_SERVICE_CHECK(){ /bin/systemctl start gitea & fi done - - if [ "$(systemctl is-active gitea)" != "active" ]; then - for nip in "${WEB_HOSTS[@]}"; do - if [[ "${local_ip}" != *"${nip}"* ]]; then - echo "stopping gitea service on ${nip}" - ssh root@${nip} /bin/systemctl stop gitea - fi - done - /bin/systemctl start gitea & - fi - if [ "$(systemctl is-active pdnsadmin.service)" != "active" ]; then - for nip in "${WEB_HOSTS[@]}"; do - if [[ "${local_ip}" != *"${nip}"* ]]; then - echo "'${local_ip}' - '${nip}'" - echo "stopping pdnsadmin service on ${nip}" - #ssh root@${nip} /bin/systemctl stop pdnsadmin.service pdnsadmin.socket - fi - done - #/bin/systemctl start pdnsadmin.service pdnsadmin.socket & - fi fi else