diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 5e42dbe0..354e9631 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -176,10 +176,12 @@ STATUS(){ if [ "${ST_ACTION}" != "dockers" ]; then srvcs=${NTYPE}_SERVICES_CHECK[@]; srvcs=${!srvcs} srvcstotest="$(join_by " " ${srvcs})" + echo "H: $srvcstotest" [ "${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: $srvctst" sr=0 for srvc in "${srvcs}"; do if [ "${ST_ACTION}" != "check" ]; then