mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-24 15:30:16 +08:00
修复bot启动命令
This commit is contained in:
parent
2bcd0112c4
commit
982643d6ef
|
@ -31,6 +31,7 @@ pip3 --default-timeout=100 install -r requirements.txt --no-cache-dir
|
||||||
echo -e "\npython3依赖安装成功...\n"
|
echo -e "\npython3依赖安装成功...\n"
|
||||||
|
|
||||||
echo -e "4、启动bot程序...\n"
|
echo -e "4、启动bot程序...\n"
|
||||||
|
make_dir $dir_log/bot
|
||||||
cd $dir_root
|
cd $dir_root
|
||||||
ps -ef | grep "python3 -m jbot" | grep -v grep | awk '{print $1}' | xargs kill -9 2>/dev/null
|
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 &
|
nohup python3 -m jbot >$dir_log/bot/nohup.log 2>&1 &
|
||||||
|
|
Loading…
Reference in New Issue
Block a user