mirror of
https://github.com/whyour/qinglong.git
synced 2025-07-27 14:46:06 +08:00
更新bot启动脚本
This commit is contained in:
parent
b1bfb62fa4
commit
c67c3088f8
|
@ -22,7 +22,9 @@ pip3 --default-timeout=100 install -r requirements.txt --no-cache-dir
|
||||||
echo
|
echo
|
||||||
|
|
||||||
echo -e "4、启动bot程序...\n"
|
echo -e "4、启动bot程序...\n"
|
||||||
pm2 restart jbot 2>/dev/null || pm2 start $dir_root/jbot -n jbot --interpreter=python3 -- -m
|
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 &
|
||||||
echo
|
echo
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|
Loading…
Reference in New Issue
Block a user