mirror of
https://github.com/whyour/qinglong.git
synced 2025-07-27 14:46:06 +08:00
修复entrypoint
This commit is contained in:
parent
43d5063293
commit
9837075992
|
@ -20,12 +20,12 @@ echo
|
|||
|
||||
echo -e "======================4. 启动控制面板========================\n"
|
||||
cd $dir_root
|
||||
pm2 restart panel 2>/dev/null || pm2 start npm -n panel -- run panel
|
||||
pm2 restart panel 2>/dev/null || pm2 start $dir_root/build/app.js -n panel
|
||||
echo -e "控制面板启动成功...\n"
|
||||
|
||||
echo -e "======================5. 启动定时任务========================\n"
|
||||
cd $dir_root
|
||||
pm2 restart schedule 2>/dev/null || pm2 start npm -n schedule -- run schedule
|
||||
pm2 restart schedule 2>/dev/null || pm2 start $dir_root/build/schedule.js -n schedule
|
||||
echo -e "定时任务启动成功...\n"
|
||||
|
||||
echo -e "############################################################"
|
||||
|
|
Loading…
Reference in New Issue
Block a user