Update nodemgmt-scripts.sh

This commit is contained in:
2023-04-27 09:54:27 -05:00
parent a6f6a00de7
commit 6d6b48a7d4

View File

@@ -198,6 +198,9 @@ STATUS(){
mysqlgo=true
fi
# echo "mysqlgo=${mysqlgo}"
echo "H: '${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]}"