Skip to content

Fix systemd service: use dynamic path for agent binary#11

Merged
titouanmathis merged 1 commit intomainfrom
fix/systemd-agent-path
Feb 12, 2026
Merged

Fix systemd service: use dynamic path for agent binary#11
titouanmathis merged 1 commit intomainfrom
fix/systemd-agent-path

Conversation

@titouanmathis
Copy link
Contributor

Problem

Systemd service was using hardcoded /usr/local/bin/npx which fails when Node is installed via nodesource (puts binaries in /usr/bin).

Solution

Use which trafic-agent to find the correct binary path.

The hardcoded /usr/local/bin/npx path fails when Node is installed via
nodesource (which puts binaries in /usr/bin). Use 'which trafic-agent'
to find the correct path.

Co-authored-by: Claude <claude@anthropic.com>
@titouanmathis titouanmathis merged commit f07e169 into main Feb 12, 2026
5 checks passed
@titouanmathis titouanmathis deleted the fix/systemd-agent-path branch February 12, 2026 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant