Update run.sh

This commit is contained in:
2019-01-29 21:56:05 -06:00
parent 158d4977f6
commit bd5535cba0

4
run.sh
View File

@@ -22,8 +22,8 @@ if [ "$1" != "service" ] && [ "$1" != "status-check" ]; then
for srvc in "${SERVICES2[@]}"
do
if [[ "mysql,test" = *"${srvc}"* ]]; then spc=" "; else spc=""; fi
echo -en "${NM_SERVICES[${srvc}]} $spc"
if [[ "mysql,test" = *"${srvc}"* ]]; then spc=""; else spc=""; fi
echo -en "${NM_SERVICES[${srvc}]} $spc"
if [ $(pgrep ${srvc} | wc -l) -gt "0" ]; then
echo -e "${idsCL[Green]}Running${idsCL[Default]}"
else echo -e "${idsCL[Red]}Not Running${idsCL[Default]}"