From 585cc934219985f5601815d1fff10e31a1f42041 Mon Sep 17 00:00:00 2001 From: skiffer-git <44203734@qq.com> Date: Thu, 22 Feb 2024 21:54:37 +0800 Subject: [PATCH 1/2] log --- scripts/check-all.sh | 2 +- scripts/lib/util.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/check-all.sh b/scripts/check-all.sh index 49d23895c..ca43876d4 100755 --- a/scripts/check-all.sh +++ b/scripts/check-all.sh @@ -77,7 +77,7 @@ if [[ $? -ne 0 ]]; then openim::log::error_exit "The service does not start properly, please check the port, query variable definition!" echo "+++ https://github.com/openimsdk/open-im-server/tree/main/scripts/install/environment.sh +++" else - echo "++++ Check all dependent service ports successfully !" + openim::color::echo $COLOR_GREEN "All components depended on by openim are running normally! " fi diff --git a/scripts/lib/util.sh b/scripts/lib/util.sh index 14f671aa0..6cf5a0343 100755 --- a/scripts/lib/util.sh +++ b/scripts/lib/util.sh @@ -365,7 +365,7 @@ openim::util::check_ports() { cat "$TMP_LOG_FILE" | awk '{print "\033[31m" $0 "\033[0m"}' return 1 else - openim::log::success "All specified processes are running." + #openim::log::success "All specified ports are running." return 0 fi } From a8ed65b0419200032856fa0a998239eee6476be7 Mon Sep 17 00:00:00 2001 From: skiffer-git <44203734@qq.com> Date: Thu, 22 Feb 2024 22:02:01 +0800 Subject: [PATCH 2/2] log --- scripts/install/openim-msgtransfer.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/scripts/install/openim-msgtransfer.sh b/scripts/install/openim-msgtransfer.sh index 4abf9b5e2..72b71c935 100755 --- a/scripts/install/openim-msgtransfer.sh +++ b/scripts/install/openim-msgtransfer.sh @@ -23,8 +23,6 @@ OPENIM_ROOT=$(cd "$(dirname "${BASH_SOURCE[0]}")"/../.. && pwd -P) [[ -z ${COMMON_SOURCED} ]] && source "${OPENIM_ROOT}"/scripts/install/common.sh -openim::util::set_max_fd 200000 - SERVER_NAME="openim-msgtransfer" function openim::msgtransfer::start() {