mirror of
https://github.com/whyour/qinglong.git
synced 2025-07-27 14:46:06 +08:00
更新bot启动脚本
This commit is contained in:
parent
989c4228c1
commit
a36926a5bd
|
@ -17,7 +17,7 @@ cp -f "$repo_path/config/bot.json" "$dir_root/config"
|
|||
|
||||
echo -e "3、启动bot程序...\n"
|
||||
cd $dir_root
|
||||
kill -9 $(ps -ef | grep "python3 -m jbot" | grep -v grep | awk '{print $1}') 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 &
|
||||
|
||||
exit 0
|
||||
|
|
Loading…
Reference in New Issue
Block a user