diff --git a/shell/update.sh b/shell/update.sh index ecaaca00..2d794bc6 100755 --- a/shell/update.sh +++ b/shell/update.sh @@ -258,11 +258,10 @@ update_qinglong() { echo -e "重启青龙面板(后台重启)...\n" cd $dir_root nohup pm2 reload all >/dev/null 2>&1 & + nohup pm2 reload all >/dev/null 2>&1 & nginx -s reload 2>/dev/null || nginx -c /etc/nginx/nginx.conf echo -e "重启面板完成(请刷新页面)...\n" fi - exit 0 - exit 0 } ## 对比脚本