From 05c39328ee84ae34c591a0e999480abf7c599941 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Thu, 27 Apr 2023 10:02:47 -0500 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 6 ------ 1 file changed, 6 deletions(-) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 65ab57f2..40b8e290 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -180,9 +180,6 @@ STATUS(){ [ "${srvc}" == "gitea" ] && [ "${NTYPE}" == "WEB" ] && [[ $($NCMD /sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1) != *${WEB_HOSTS[0]}* ]] && NOGOCHK=false || NOGOCHK=true if [ ${NOGOCHK} == true ]; then srvctst=(`${NCMD} systemctl is-active ${srvcstotest}`) - echo "H1: ${srvcstotest}" - echo "H2: $srvctst" - echo "H3: $srvctst[0] ${srvctst[1]} ${srvctst[2]} ${srvctst[3]}" sr=0 for srvc in "${!srvcs}"; do if [ "${ST_ACTION}" != "check" ]; then @@ -201,9 +198,6 @@ STATUS(){ mysqlgo=true fi # echo "mysqlgo=${mysqlgo}" - - echo "H: '$sr' - '${srvctst[$sr]}' - '$nip' - '$srvc' - '${mysqlgo}'" - if [ "${srvctst[$sr]}" != "active" ] && [ "${mysqlgo}" != "true" ]; then if [ ! -f ${FOLDER}/${nip}-${srvc}.down ]; then [ "${ST_ACTION}" != "check" ] && echo -e "${idsCL[Red]}Not Running${idsCL[Default]}"