Update nodemgmt-scripts.sh
This commit is contained in:
@@ -198,6 +198,9 @@ STATUS(){
|
|||||||
mysqlgo=true
|
mysqlgo=true
|
||||||
fi
|
fi
|
||||||
# echo "mysqlgo=${mysqlgo}"
|
# echo "mysqlgo=${mysqlgo}"
|
||||||
|
|
||||||
|
echo "H: '${srvctst[$sr]}' - '$nip' - '$srvc' - '${mysqlgo}'"
|
||||||
|
|
||||||
if [ "${srvctst[$sr]}" != "active" ] && [ "${mysqlgo}" != "true" ]; then
|
if [ "${srvctst[$sr]}" != "active" ] && [ "${mysqlgo}" != "true" ]; then
|
||||||
if [ ! -f ${FOLDER}/${nip}-${srvc}.down ]; then
|
if [ ! -f ${FOLDER}/${nip}-${srvc}.down ]; then
|
||||||
[ "${ST_ACTION}" != "check" ] && echo -e "${idsCL[Red]}Not Running${idsCL[Default]}"
|
[ "${ST_ACTION}" != "check" ] && echo -e "${idsCL[Red]}Not Running${idsCL[Default]}"
|
||||||
|
|||||||
Reference in New Issue
Block a user