Update nodemgmt-scripts.sh
This commit is contained in:
@@ -194,6 +194,7 @@ STATUS(){
|
|||||||
mysqlgo=false;
|
mysqlgo=false;
|
||||||
[ "$(${NCMD} systemctl is-active mysql)" == "active" ] && mysqlgo=true;
|
[ "$(${NCMD} systemctl is-active mysql)" == "active" ] && mysqlgo=true;
|
||||||
fi
|
fi
|
||||||
|
echo "mysqlgo=${mysqlgo}"
|
||||||
if [ "{srvctst}" != "active" ] && [ "${mysqlgo}" != "true" ]; then
|
if [ "{srvctst}" != "active" ] && [ "${mysqlgo}" != "true" ]; then
|
||||||
if [ ! -f ${FOLDER}/${nip}-${srvc}.down ]; then
|
if [ ! -f ${FOLDER}/${nip}-${srvc}.down ]; then
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user