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