更新 nezha-v1.sh 脚本,添加安装说明和示例命令
This commit is contained in:
@ -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
|
Reference in New Issue
Block a user