修复ql update状态异常

This commit is contained in:
whyour
2021-05-12 20:09:19 +08:00
parent 7aefcaf75e
commit ed9db7c8d5
2 changed files with 25 additions and 14 deletions
+3 -2
View File
@@ -255,10 +255,11 @@ update_qinglong() {
fi
if [[ $exit_status -eq 0 ]]; then
echo -e "重启青龙面板...\n"
echo -e "重启青龙面板(后台重启)...\n"
cd $dir_root
nginx -s reload 2>/dev/null || nginx -c /etc/nginx/nginx.conf
echo -e "重启面板完成...\n"
echo -e "重启面板完成(请5s后刷新页面)..."
pm2 reload all
fi
}