Update nodemgmt-scripts.sh
This commit is contained in:
1 parent
cd0b5969ee
commit
c1dfc869e3
1 file changed
+1
@@ -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