diff --git a/scripts/install_panel.sh b/scripts/install_panel.sh index 352ef443..93aa9d9e 100644 --- a/scripts/install_panel.sh +++ b/scripts/install_panel.sh @@ -204,12 +204,15 @@ Auto_Swap() { } Init_Panel() { + systemctl stop panel + systemctl disable panel + rm -f /etc/systemd/system/panel.service + rm -rf ${setup_Path}/panel mkdir ${setup_Path}/server mkdir ${setup_Path}/server/cron mkdir ${setup_Path}/server/cron/logs chmod -R 755 ${setup_Path}/server mkdir ${setup_Path}/panel - rm -rf ${setup_Path}/panel/* # 下载面板zip包并解压 if [ "${ARCH}" == "x86_64" ]; then if ${inChina}; then