From e0e432c50dd46fba764a3587909d8dce8a0707cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=80=97=E5=AD=90?= Date: Wed, 28 Jan 2026 05:44:21 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BC=98=E5=8C=96sysctl=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/service/installer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/service/installer.go b/internal/service/installer.go index 10e716c..1f40f39 100644 --- a/internal/service/installer.go +++ b/internal/service/installer.go @@ -282,7 +282,7 @@ func (i *installer) optimizeSystem(ctx context.Context, cfg *types.InstallConfig sysctlConf.WriteString("net.core.somaxconn=1024\n") // 写入 sysctl 配置 - _ = os.WriteFile("/etc/sysctl.d/99-panel.conf", []byte(sysctlConf.String()), 0644) + _ = os.WriteFile("/etc/sysctl.d/99-acepanel.conf", []byte(sysctlConf.String()), 0644) // sudoers 添加 /usr/local/bin 和 /usr/local/sbin 路径 // 检查是否已包含