Update run.sh
This commit is contained in:
2
run.sh
2
run.sh
@@ -22,7 +22,7 @@ if [ "$1" != "service" ] && [ "$1" != "status-check" ]; then
|
|||||||
|
|
||||||
for srvc in "${SERVICES2[@]}"
|
for srvc in "${SERVICES2[@]}"
|
||||||
do
|
do
|
||||||
if [[ "mysql,test" = *"${srvc}"* ]]; then spc=""; else spc=""; fi
|
if [[ "mysql,test" = *"${srvc}"* ]]; then spc=" "; else spc=""; fi
|
||||||
echo -en "${NM_SERVICES[${srvc}]} $spc"
|
echo -en "${NM_SERVICES[${srvc}]} $spc"
|
||||||
if [ $(pgrep ${srvc} | wc -l) -gt "0" ]; then
|
if [ $(pgrep ${srvc} | wc -l) -gt "0" ]; then
|
||||||
echo -e "${idsCL[Green]}Running${idsCL[Default]}"
|
echo -e "${idsCL[Green]}Running${idsCL[Default]}"
|
||||||
|
|||||||
Reference in New Issue
Block a user