mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-12-03 02:42:19 +08:00
fix: fix the stop script
This commit is contained in:
parent
39042e2672
commit
76c976726b
@ -28,7 +28,7 @@ source "${OPENIM_ROOT}/scripts/install/common.sh"
|
|||||||
|
|
||||||
OPENIM_VERBOSE=4
|
OPENIM_VERBOSE=4
|
||||||
|
|
||||||
openim::log::info "\n# Begin to check all openim service"
|
openim::log::info "# Begin to check all openim service"
|
||||||
. $(dirname ${BASH_SOURCE})/install/openim-msgtransfer.sh openim::msgtransfer::check_by_signal
|
. $(dirname ${BASH_SOURCE})/install/openim-msgtransfer.sh openim::msgtransfer::check_by_signal
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -439,7 +439,7 @@ openim::util::check_ports_by_signal() {
|
|||||||
|
|
||||||
# If any of the processes is not running, return a status of 1.
|
# If any of the processes is not running, return a status of 1.
|
||||||
if [[ ${#not_started[@]} -ne 0 ]]; then
|
if [[ ${#not_started[@]} -ne 0 ]]; then
|
||||||
openim::log::success "All specified processes are running."
|
openim::log::success "All specified processes are stop."
|
||||||
else
|
else
|
||||||
openim::log::error "Have processes no stop."
|
openim::log::error "Have processes no stop."
|
||||||
fi
|
fi
|
||||||
|
|||||||
@ -36,4 +36,6 @@ openim::util::stop_services_by_name_signal "${OPENIM_OUTPUT_HOSTBIN}"
|
|||||||
|
|
||||||
sleep 1
|
sleep 1
|
||||||
|
|
||||||
|
source "${OPENIM_ROOT}/scripts/check-all-by-signal.sh"
|
||||||
|
|
||||||
openim::log::success "✨ All processes to be killed"
|
openim::log::success "✨ All processes to be killed"
|
||||||
Loading…
x
Reference in New Issue
Block a user