mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-11-06 13:22:11 +08:00
Script Refactoring
This commit is contained in:
parent
6891a1edd5
commit
d41a2b4b99
@ -30,7 +30,15 @@ fi
|
||||
# Call the main function
|
||||
result=$(start_binaries)
|
||||
|
||||
return=$(check_binaries_running)
|
||||
|
||||
result=$(check_binaries_running)
|
||||
ret_val=$?
|
||||
if [ $ret_val -eq 0 ]; then
|
||||
echo "All binaries are running."
|
||||
else
|
||||
echo "$result"
|
||||
fi
|
||||
|
||||
|
||||
print_listened_ports_by_binaries
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user