From dfe51c6b731d2b8e4b9b202b447052d6c1a4f4ad Mon Sep 17 00:00:00 2001 From: whyour Date: Wed, 12 May 2021 19:04:11 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95ql=20update?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shell/update.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/shell/update.sh b/shell/update.sh index 701e58c5..40aa25ba 100755 --- a/shell/update.sh +++ b/shell/update.sh @@ -257,9 +257,10 @@ update_qinglong() { if [[ $exit_status -eq 0 ]]; then echo -e "重启青龙面板(后台重启)...\n" cd $dir_root - pm2 reload all & nginx -s reload 2>/dev/null || nginx -c /etc/nginx/nginx.conf echo -e "重启面板完成(请刷新页面)...\n" + pm2 reload all & + exit 0 fi }