feat(shell): 支持自定义 面板/RPC 端口

This commit is contained in:
naiba
2020-12-07 09:38:10 +08:00
parent 712b961193
commit f735861d65
6 changed files with 35 additions and 19 deletions

View File

@@ -15,7 +15,7 @@ Type=simple
User=root
Group=root
WorkingDirectory=/opt/nezha/agent/
ExecStart=/opt/nezha/agent/nezha-agent -d -s nezha_server_addr:5555 -i nezha_client_id -p nezha_client_secret
ExecStart=/opt/nezha/agent/nezha-agent -d -s nz_rpc_host:nz_rpc_port -i nezha_client_id -p nezha_client_secret
Restart=always
#Environment=DEBUG=true