暂时移除ql update中的重启后台服务

This commit is contained in:
whyour 2021-05-12 19:17:03 +08:00
parent dfe51c6b73
commit 7aefcaf75e

View File

@ -255,12 +255,10 @@ update_qinglong() {
fi fi
if [[ $exit_status -eq 0 ]]; then if [[ $exit_status -eq 0 ]]; then
echo -e "重启青龙面板(后台重启)...\n" echo -e "重启青龙面板...\n"
cd $dir_root cd $dir_root
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"
pm2 reload all &
exit 0
fi fi
} }