diff --git a/frontend-modern/src/components/Settings/DockerAgents.tsx b/frontend-modern/src/components/Settings/DockerAgents.tsx index 3be762c..4348b07 100644 --- a/frontend-modern/src/components/Settings/DockerAgents.tsx +++ b/frontend-modern/src/components/Settings/DockerAgents.tsx @@ -365,94 +365,94 @@ WantedBy=multi-user.target`; }; return ( -
Run this command as root on your Docker host to start monitoring.
Generate API token
-
- Create a fresh token scoped to {DOCKER_REPORT_SCOPE}
+
Generate API token
+
+ Create a fresh token scoped to {DOCKER_REPORT_SCOPE}
+
+ {getInstallCommandTemplate().replace(TOKEN_PLACEHOLDER, currentToken() || TOKEN_PLACEHOLDER)}
+
+ + Run as root on your Docker host. The installer downloads the agent, creates a systemd service, and starts reporting automatically.
- {getInstallCommandTemplate().replace(TOKEN_PLACEHOLDER, currentToken() || TOKEN_PLACEHOLDER)}
-
- - Run as root on your Docker host. The installer downloads the agent, creates a systemd service, and starts reporting automatically. + Generate a token to see the install command.
-- Generate a token to see the install command. -
-Manual Linux install
++ Build the agent from source and manage the service yourself instead of using the helper script. +
+1. Build the binary
+
+ cd /opt/pulse
+
+ CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o pulse-host-agent ./cmd/pulse-host-agent
+
+ 2. Copy to host
+
+ scp pulse-host-agent user@host:/usr/local/bin/
+
+ ssh user@host sudo chmod +x /usr/local/bin/pulse-host-agent
+
+ 3. Systemd service template
+{getSystemdServiceUnit()}
+ 4. Enable & start
+
+ sudo systemctl daemon-reload
+
+ sudo systemctl enable --now pulse-host-agent
+
+ Manual uninstall
+
+ {getManualUninstallCommand()}
+
+
+ + Stops the agent, removes the systemd unit, and deletes the binary. +
+