mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-12-03 02:42:19 +08:00
fix: logs
This commit is contained in:
parent
8b28fd6351
commit
9cea45bf96
@ -29,6 +29,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 "\n# Begin to check all openim service"
|
||||||
|
. $(dirname ${BASH_SOURCE})/install/openim-msgtransfer.sh openim::msgtransfer::check_by_signal || ture
|
||||||
|
|
||||||
handle_error() {
|
handle_error() {
|
||||||
echo "An error occurred. Printing ${STDERR_LOG_FILE} contents:"
|
echo "An error occurred. Printing ${STDERR_LOG_FILE} contents:"
|
||||||
@ -37,7 +38,6 @@ handle_error() {
|
|||||||
|
|
||||||
trap handle_error ERR
|
trap handle_error ERR
|
||||||
|
|
||||||
. $(dirname ${BASH_SOURCE})/install/openim-msgtransfer.sh openim::msgtransfer::check_by_signal
|
|
||||||
echo "Check ports:"
|
echo "Check ports:"
|
||||||
openim::util::check_ports_by_signal ${OPENIM_SERVER_PORT_LISTARIES[@]}
|
openim::util::check_ports_by_signal ${OPENIM_SERVER_PORT_LISTARIES[@]}
|
||||||
if [[ $? -ne 0 ]]; then
|
if [[ $? -ne 0 ]]; then
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user