Update run.sh
This commit is contained in:
1
run.sh
1
run.sh
@@ -18,7 +18,6 @@ if [ "$1" != "service" ] && [ "$1" != "status-check" ]; then
|
|||||||
fi
|
fi
|
||||||
for srvc in "${SERVICES[@]}"
|
for srvc in "${SERVICES[@]}"
|
||||||
do
|
do
|
||||||
if [ "${NM_SERVICES[${srvc}]}" = "" ]; then NM_SERVICES[${srvc}]="${srvc}"; fi
|
|
||||||
echo -en "${NM_SERVICES[${srvc}]} "
|
echo -en "${NM_SERVICES[${srvc}]} "
|
||||||
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