From 8e7ed17a426113fb61ba6b1a0ee59eb84d7495ad Mon Sep 17 00:00:00 2001 From: whyour Date: Mon, 10 May 2021 23:35:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=87=8D=E5=90=AF=E5=91=BD?= =?UTF-8?q?=E4=BB=A4=E6=89=A7=E8=A1=8C=E9=A1=BA=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shell/update.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/shell/update.sh b/shell/update.sh index 0ceb353e..dfa445dd 100755 --- a/shell/update.sh +++ b/shell/update.sh @@ -306,14 +306,14 @@ restart_qinglong() { yarn cache clean echo -e "重新编译青龙完成...\n" + echo -e "重启定时任务...\n" + pm2 reload schedule 2>/dev/null || pm2 start $dir_root/build/schedule.js -n schedule + echo -e "重启定时完成...\n" + echo -e "重启青龙面板...\n" pm2 reload panel 2>/dev/null || pm2 start $dir_root/build/app.js -n panel nginx -s reload 2>/dev/null || nginx -c /etc/nginx/nginx.conf echo -e "重启面板完成...\n" - - echo -e "重启定时任务...\n" - pm2 reload schedule 2>/dev/null || pm2 start $dir_root/build/schedule.js -n schedule - echo -e "重启定时完成...\n" fi }