Update run.sh

This commit is contained in:
2019-01-29 21:52:20 -06:00
parent b1a20a7759
commit 93115e709d

3
run.sh
View File

@@ -22,7 +22,8 @@ if [ "$1" != "service" ] && [ "$1" != "status-check" ]; then
for srvc in "${SERVICES2[@]}"
do
echo -en "${NM_SERVICES[${srvc}]} "
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]}"