From 7b80f034ea31b7ec9505c850da201018ac366852 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=80=97=E5=AD=90?= Date: Mon, 24 Jun 2024 19:46:43 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=AE=89=E8=A3=85=E5=89=8D=E5=85=88?= =?UTF-8?q?=E6=B8=85=E7=90=86=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/install_panel.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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