修改docker-entrypoint.sh使用pm2启动bot

This commit is contained in:
Chiupam 2022-01-14 17:35:04 +08:00 committed by GitHub
parent 559b712a06
commit 6a691444af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,7 +32,7 @@ echo -e "定时任务启动成功...\n"
if [[ $AutoStartBot == true ]]; then if [[ $AutoStartBot == true ]]; then
echo -e "======================6. 启动bot========================\n" 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" echo -e "bot后台启动中...\n"
fi fi