feat(install): default to Go agent binary from release agent-v0.6.8, drop Node.js dependency; NG_AGENT_IMPL=node fallback via run.sh; shell-only enroll JSON; units ExecStart the Go binary

This commit is contained in:
aaaamoooo
2026-10-20 06:55:54 +00:00
parent ddfc27efba
commit 545c0668ba
3 changed files with 91 additions and 13 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ Wants=network-online.target
[Service]
Type=simple
EnvironmentFile=/etc/nexusgate/agent.env
ExecStart=/usr/bin/node --max-old-space-size=64 --optimize-for-size --max-semi-space-size=4 /opt/nexusgate-agent/agent.js
ExecStart=/opt/nexusgate-agent/nexusgate-agent
Restart=always
RestartSec=5
NoNewPrivileges=true