mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-12-02 18:34:29 +08:00
fix: fix the error
This commit is contained in:
parent
132f3b882a
commit
078ed80050
@ -40,15 +40,15 @@ trap handle_error ERR
|
|||||||
|
|
||||||
. $(dirname ${BASH_SOURCE})/install/openim-msgtransfer.sh openim::msgtransfer::check_by_signal
|
. $(dirname ${BASH_SOURCE})/install/openim-msgtransfer.sh openim::msgtransfer::check_by_signal
|
||||||
|
|
||||||
# Assuming openim::util::check_ports_by_signal function sets a proper exit status
|
openim::util::check_ports_by_signal ${OPENIM_SERVER_PORT_LISTARIES[@]}
|
||||||
# based on whether services are running or not.
|
if [[ $? -ne 0 ]]; then
|
||||||
if openim::util::check_ports_by_signal ${OPENIM_SERVER_PORT_LISTARIES[@]}; then
|
|
||||||
echo "+++ cat openim log file >>> ${LOG_FILE}"
|
|
||||||
openim::log::error_exit "The service does not stop properly, there are still processes running, please check!"
|
|
||||||
else
|
|
||||||
echo "++++ All openim service ports stop successfully !"
|
echo "++++ All openim service ports stop successfully !"
|
||||||
|
else
|
||||||
|
echo "+++ cat openim log file >>> ${LOG_FILE}"
|
||||||
|
openim::log::error_exit "The service does not stop properly, there are still processes running, please check!"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
trap - ERR
|
trap - ERR
|
||||||
Loading…
x
Reference in New Issue
Block a user