diff --git a/shell/update.sh b/shell/update.sh index e0f94235..701e58c5 100755 --- a/shell/update.sh +++ b/shell/update.sh @@ -257,7 +257,7 @@ update_qinglong() { if [[ $exit_status -eq 0 ]]; then echo -e "重启青龙面板(后台重启)...\n" cd $dir_root - pm2 reload all + pm2 reload all & nginx -s reload 2>/dev/null || nginx -c /etc/nginx/nginx.conf echo -e "重启面板完成(请刷新页面)...\n" fi