From 982643d6eff12dd2af8fa469523cf2e25df2aa90 Mon Sep 17 00:00:00 2001 From: whyour Date: Tue, 11 May 2021 10:01:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dbot=E5=90=AF=E5=8A=A8?= =?UTF-8?q?=E5=91=BD=E4=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shell/bot.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/shell/bot.sh b/shell/bot.sh index ad83aaf6..3bef23de 100644 --- a/shell/bot.sh +++ b/shell/bot.sh @@ -31,6 +31,7 @@ pip3 --default-timeout=100 install -r requirements.txt --no-cache-dir echo -e "\npython3依赖安装成功...\n" echo -e "4、启动bot程序...\n" +make_dir $dir_log/bot cd $dir_root ps -ef | grep "python3 -m jbot" | grep -v grep | awk '{print $1}' | xargs kill -9 2>/dev/null nohup python3 -m jbot >$dir_log/bot/nohup.log 2>&1 &