mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-11-05 03:42:08 +08:00
23 lines
408 B
Bash
23 lines
408 B
Bash
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
|
|
openim::log::print_red "Some services have not been stopped, details are as follows:"
|
|
openim::log::print_red_no_time_stamp "$result"
|
|
exit 1
|
|
fi
|
|
|
|
openim::log::print_green "All services have been stopped" |