From e2c75f68365d2cf69175f79b7ae64f6158239d0d Mon Sep 17 00:00:00 2001 From: wangchuxiao Date: Wed, 10 Aug 2022 20:42:26 +0800 Subject: [PATCH] fix delete --- script/msg_transfer_start.sh | 6 +++--- script/start_cron.sh | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/script/msg_transfer_start.sh b/script/msg_transfer_start.sh index 6e59b2583..4d7fb96cd 100644 --- a/script/msg_transfer_start.sh +++ b/script/msg_transfer_start.sh @@ -17,9 +17,9 @@ fi sleep 1 cd ${msg_transfer_binary_root} -#for ((i = 0; i < ${msg_transfer_service_num}; i++)); do -# nohup ./${msg_transfer_name} >>../logs/openIM.log 2>&1 & -#done +for ((i = 0; i < ${msg_transfer_service_num}; i++)); do + nohup ./${msg_transfer_name} >>../logs/openIM.log 2>&1 & +done #Check launched service process check=`ps aux | grep -w ./${msg_transfer_name} | grep -v grep| wc -l` diff --git a/script/start_cron.sh b/script/start_cron.sh index fa885d958..9c33478de 100644 --- a/script/start_cron.sh +++ b/script/start_cron.sh @@ -17,9 +17,9 @@ fi sleep 1 cd ${cron_task_binary_root} -for ((i = 0; i < ${cron_task_service_num}; i++)); do +#for ((i = 0; i < ${cron_task_service_num}; i++)); do nohup ./${cron_task_name} >>../logs/openIM.log 2>&1 & -done +#done #Check launched service process check=`ps aux | grep -w ./${cron_task_name} | grep -v grep| wc -l`