From afcfcab8d1f5e7a85fecf2dbaad81abf4c5781a9 Mon Sep 17 00:00:00 2001 From: lxh2875931338 Date: Mon, 27 Jul 2026 22:47:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BA=91=E6=9C=8D=E7=9A=84bu?= =?UTF-8?q?ild=E6=80=A7=E8=83=BD=E9=9C=80=E6=B1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deploy.sh | 2 +- frps.tmpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/deploy.sh b/deploy.sh index e18ab92..fff8922 100644 --- a/deploy.sh +++ b/deploy.sh @@ -354,7 +354,7 @@ do_deploy() { # 编译 print_step "编译 frps-console..." - CGO_ENABLED=0 GOOS=linux go build -ldflags="-s -w" -o frps-console . + CGO_ENABLED=0 GOOS=linux go build -p 1 -ldflags="-s -w" -o frps-console . if [ -f "frps-console" ]; then SIZE=$(du -h frps-console | cut -f1) print_success "编译完成 ($SIZE)" diff --git a/frps.tmpl b/frps.tmpl index df64659..c7c9809 100644 --- a/frps.tmpl +++ b/frps.tmpl @@ -2,7 +2,7 @@ bindPort = {{.BindPort}} auth.token = "{{.Token}}" -log.to = "./frps.log" +log.to = "./frpc.log" log.level = "{{.LogLevel}}" log.maxDays = {{.LogMaxDays}}