Update nodemgmt-scripts.sh
This commit is contained in:
@@ -130,7 +130,7 @@ case "$1" in
|
|||||||
elif [ "${srvc}" = "maxscale" ]; then SER='MaxScale'
|
elif [ "${srvc}" = "maxscale" ]; then SER='MaxScale'
|
||||||
else SER="${2}"
|
else SER="${2}"
|
||||||
fi
|
fi
|
||||||
echo -en "${SER}: "
|
echo -en "${SER}: "
|
||||||
if [ $(${NCMD} pgrep ${srvc} | wc -l) -gt "0" ]; then
|
if [ $(${NCMD} pgrep ${srvc} | wc -l) -gt "0" ]; then
|
||||||
echo -e "${idsCL[Green]}Running${idsCL[Default]}"
|
echo -e "${idsCL[Green]}Running${idsCL[Default]}"
|
||||||
else echo -e "${idsCL[Red]}Not Running${idsCL[Default]}"
|
else echo -e "${idsCL[Red]}Not Running${idsCL[Default]}"
|
||||||
|
|||||||
Reference in New Issue
Block a user