From 651de0543171f5a7f78d1f1f7c92020b4c6ac876 Mon Sep 17 00:00:00 2001 From: "Xinwei Xiong(cubxxw-openim)" <3293172751nss@gmail.com> Date: Tue, 29 Aug 2023 16:39:32 +0800 Subject: [PATCH] feat: add test file Signed-off-by: Xinwei Xiong(cubxxw-openim) <3293172751nss@gmail.com> --- scripts/check_all.sh | 4 ++++ scripts/docker_start_all.sh | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/check_all.sh b/scripts/check_all.sh index dab9bcd69..a6e6a1d8e 100755 --- a/scripts/check_all.sh +++ b/scripts/check_all.sh @@ -19,6 +19,10 @@ SCRIPTS_ROOT=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd) OPENIM_ROOT=$(dirname "${SCRIPTS_ROOT}")/.. +DATA="date '+%H:%M:%S'" +echo "# Start Chat check_all.sh ${DATA}" +exec > ${OPENIM_ROOT}/logs/openIM.log 2>&1 + #Include shell font styles and some basic information source $SCRIPTS_ROOT/style_info.sh source $SCRIPTS_ROOT/path_info.sh diff --git a/scripts/docker_start_all.sh b/scripts/docker_start_all.sh index 1ae4b852f..a1aadd588 100755 --- a/scripts/docker_start_all.sh +++ b/scripts/docker_start_all.sh @@ -98,7 +98,7 @@ for ((i = 0; i < ${#service_filenames[*]}; i++)); do done done -sleep 20 +sleep 50 ${OPENIM_ROOT}/scripts/check_all.sh tail -f ${logs_dir}/openIM.log