mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-11-05 03:42:08 +08:00
Script Refactoring
This commit is contained in:
parent
61b4d3bd46
commit
1b45539b77
@ -3,12 +3,20 @@
|
||||
|
||||
|
||||
|
||||
OPENIM_ROOT=$(dirname "${BASH_SOURCE[0]}")/
|
||||
source "${OPENIM_ROOT}/lib/util.sh"
|
||||
source "${OPENIM_ROOT}/define/binaries.sh"
|
||||
source "${OPENIM_ROOT}/lib/path.sh"
|
||||
|
||||
|
||||
|
||||
OPENIM_SCRIPTS=$(dirname "${BASH_SOURCE[0]}")/
|
||||
source "$OPENIM_SCRIPTS/bricks.sh"
|
||||
|
||||
|
||||
kill_exist_binaries
|
||||
|
||||
result=$(check_binaries_stop)
|
||||
ret_val=$?
|
||||
|
||||
if [ $ret_val -ne 0 ]; then
|
||||
echo "$result"
|
||||
echo "no stop..."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user