修改ql update

This commit is contained in:
whyour 2021-05-12 17:24:43 +08:00
parent 4367d8ecca
commit 8817342332

View File

@ -257,8 +257,7 @@ update_qinglong() {
if [[ $exit_status -eq 0 ]]; then if [[ $exit_status -eq 0 ]]; then
echo -e "重启青龙面板(后台重启)...\n" echo -e "重启青龙面板(后台重启)...\n"
cd $dir_root cd $dir_root
nohup pm2 reload panel >/dev/null 2>&1 & nohup pm2 reload all >/dev/null 2>&1 &
nohup pm2 reload schedule >/dev/null 2>&1 &
nginx -s reload 2>/dev/null || nginx -c /etc/nginx/nginx.conf nginx -s reload 2>/dev/null || nginx -c /etc/nginx/nginx.conf
echo -e "重启面板完成(请刷新页面)...\n" echo -e "重启面板完成(请刷新页面)...\n"
fi fi