From ad5129b8d606074ad1c17ea9639669aa5c714a9c Mon Sep 17 00:00:00 2001 From: hanzhixiao <709674996@qq.com> Date: Wed, 9 Aug 2023 10:08:59 +0800 Subject: [PATCH] 815 Signed-off-by: hanzhixiao <709674996@qq.com> --- scripts/start_component_check.sh | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/scripts/start_component_check.sh b/scripts/start_component_check.sh index 9dbacb5b9..c1472448e 100644 --- a/scripts/start_component_check.sh +++ b/scripts/start_component_check.sh @@ -29,19 +29,6 @@ echo -e "${YELLOW_PREFIX}=======>pwd=$PWD${COLOR_SUFFIX}" bin_dir="$BIN_DIR" logs_dir="$OPENIM_ROOT/logs" -cd $OPENIM_ROOT - -#Check if the service exists -#If it is exists,kill this process -check=`ps | grep -w ./${openim_msgtransfer} | grep -v grep| wc -l` -if [ $check -ge 1 ] -then -oldPid=`ps | grep -w ./${openim_msgtransfer} | grep -v grep|awk '{print $2}'` - kill -9 $oldPid -fi -#Waiting port recycling -sleep 1 - cd ${component_check_binary_root} cmd="nohup ./${component_check}" echo "==========================start components checking===========================">>$OPENIM_ROOT/logs/openIM.log