mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-12-30 22:37:04 +08:00
Script Refactoring
This commit is contained in:
parent
055b7de0ad
commit
017c9fc55b
@ -20,14 +20,14 @@ ret_val=$?
|
|||||||
|
|
||||||
if [ $ret_val -ne 0 ]; then
|
if [ $ret_val -ne 0 ]; then
|
||||||
echo "$result"
|
echo "$result"
|
||||||
echo "abort..."
|
echo "Some services running, abort start"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
# Call the main function
|
# Call the main function
|
||||||
result=$(start_binaries)
|
result=$(start_binaries)
|
||||||
|
openim::log::status $result
|
||||||
|
|
||||||
$OPENIM_SCRIPTS/check.sh
|
$OPENIM_SCRIPTS/check.sh
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user