From 2bc39f9c8c528398977a95ee3cf30e57f279e868 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Thu, 27 Apr 2023 09:58:58 -0500 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 2c89b8ff..993eb6c5 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -180,6 +180,7 @@ 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 "H: ${srvcstotest}" echo "H: $srvctst" echo "H: $srvctst[0] $srvctt[1] $srvctt[2] $srvctt[3]" sr=0