Skip to content

Commit

Permalink
fix: fix the stop script
Browse files Browse the repository at this point in the history
  • Loading branch information
luhaoling committed Feb 20, 2024
1 parent 39042e2 commit 76c9767
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/check-all-by-signal.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ source "${OPENIM_ROOT}/scripts/install/common.sh"

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


Expand Down
2 changes: 1 addition & 1 deletion scripts/lib/util.sh
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ openim::util::check_ports_by_signal() {

# If any of the processes is not running, return a status of 1.
if [[ ${#not_started[@]} -ne 0 ]]; then
openim::log::success "All specified processes are running."
openim::log::success "All specified processes are stop."
else
openim::log::error "Have processes no stop."
fi
Expand Down
2 changes: 2 additions & 0 deletions scripts/stop-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,6 @@ openim::util::stop_services_by_name_signal "${OPENIM_OUTPUT_HOSTBIN}"

sleep 1

source "${OPENIM_ROOT}/scripts/check-all-by-signal.sh"

openim::log::success "✨ All processes to be killed"

0 comments on commit 76c9767

Please sign in to comment.