mirror of
https://github.com/whyour/qinglong.git
synced 2026-06-30 20:35:09 +08:00
添加ql check运行环境监测
This commit is contained in:
@@ -20,17 +20,17 @@ echo -e "nginx启动成功...\n"
|
||||
|
||||
echo -e "======================4. 启动控制面板========================\n"
|
||||
if [[ $(pm2 info panel 2>/dev/null) ]]; then
|
||||
pm2 reload panel
|
||||
pm2 reload panel --source-map-support --time
|
||||
else
|
||||
pm2 start $dir_root/build/app.js -n panel
|
||||
pm2 start $dir_root/build/app.js -n panel --source-map-support --time
|
||||
fi
|
||||
echo -e "控制面板启动成功...\n"
|
||||
|
||||
echo -e "======================5. 启动定时任务========================\n"
|
||||
if [[ $(pm2 info schedule 2>/dev/null) ]]; then
|
||||
pm2 reload schedule
|
||||
pm2 reload schedule --source-map-support --time
|
||||
else
|
||||
pm2 start $dir_root/build/schedule.js -n schedule
|
||||
pm2 start $dir_root/build/schedule.js -n schedule --source-map-support --time
|
||||
fi
|
||||
echo -e "定时任务启动成功...\n"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user