更新 nezha-v1.sh 脚本,添加安装说明和示例命令

This commit is contained in:
mini2024
2025-03-24 22:24:36 +08:00
parent 5aa4ff8d3f
commit eccc0687d0

View File

@ -143,4 +143,8 @@ else
down_nezha_agent down_nezha_agent
write_service_file write_service_file
start_nezha_agent start_nezha_agent
fi fi
# curl -L https://raw.githubusercontent.com/nezhahq/scripts/main/agent/install.sh -o agent.sh
# chmod +x agent.sh
# env NZ_SERVER=nezha-v1-grpc.oo1.dev:38443 NZ_TLS=true NZ_insecure_tls=true NZ_CLIENT_SECRET=XXX ./agent.sh