Skip to content

Commit

Permalink
fix: chat scripts path bug
Browse files Browse the repository at this point in the history
Signed-off-by: Xinwei Xiong(cubxxw-openim) <[email protected]>
  • Loading branch information
cubxxw committed Aug 9, 2023
1 parent 9b5c48c commit 5ff6255
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/start_all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5ff6255

Please sign in to comment.