mirror of
https://github.com/whyour/qinglong.git
synced 2025-07-28 07:06:06 +08:00
修改docker-entrypoint.sh使用pm2启动bot
This commit is contained in:
parent
559b712a06
commit
6a691444af
|
@ -32,7 +32,7 @@ echo -e "定时任务启动成功...\n"
|
|||
|
||||
if [[ $AutoStartBot == true ]]; then
|
||||
echo -e "======================6. 启动bot========================\n"
|
||||
nohup ql bot >>$dir_log/start.log 2>&1 &
|
||||
pm2 start $dir_root/jbot/ecosystem.config.js
|
||||
echo -e "bot后台启动中...\n"
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user