重启系统添加倒计时提示

This commit is contained in:
whyour
2021-05-14 21:07:04 +08:00
parent 0afd8fcbd6
commit d25ae98c68
3 changed files with 15 additions and 4 deletions
+1 -2
View File
@@ -266,10 +266,9 @@ update_qinglong() {
fi
if [[ $exit_status -eq 0 ]]; then
echo -e "重启青龙面板(后台重启)...\n"
cd $dir_root
nginx -s reload 2>/dev/null || nginx -c /etc/nginx/nginx.conf
echo -e "重启面板完成(请5s后刷新页面)..."
echo -e "重启面板完成"
pm2 reload all >/dev/null 2>&1
fi
}