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