diff --git a/scripts/start_all.sh b/scripts/start_all.sh index c8b1da294..f70b634f9 100755 --- a/scripts/start_all.sh +++ b/scripts/start_all.sh @@ -69,7 +69,7 @@ cd $SCRIPTS_ROOT for ((i = 0; i < ${#service_filename[*]}; i++)); do #Check whether the service exists - service_name="ps |grep -w ${service_filename[$i]} |grep -v grep" + service_name="ps -aux |grep -w ${service_filename[$i]} |grep -v grep" count="${service_name}| wc -l" if [ $(eval ${count}) -gt 0 ]; then