fix: embed config directly in agent script, remove external config file #45

Merged
rafaga21 merged 1 commits from feat/push-monitoring-agent-v2 into master 2026-06-11 19:45:30 -04:00
Owner

The values SERVER_URL, AGENT_KEY, INTERVAL are now written directly
into the agent bash script using @placeholder@ substitution with sed.
No config file lookup needed — eliminates the 'not configured' error.

Config file directory (/etc/servermanager, ~/.config/servermanager)
is no longer created or referenced.

The values SERVER_URL, AGENT_KEY, INTERVAL are now written directly into the agent bash script using @placeholder@ substitution with sed. No config file lookup needed — eliminates the 'not configured' error. Config file directory (/etc/servermanager, ~/.config/servermanager) is no longer created or referenced.
rafaga21 added 1 commit 2026-06-11 19:45:25 -04:00
The values SERVER_URL, AGENT_KEY, INTERVAL are now written directly
into the agent bash script using @placeholder@ substitution with sed.
No config file lookup needed — eliminates the 'not configured' error.

Config file directory (/etc/servermanager, ~/.config/servermanager)
is no longer created or referenced.
rafaga21 merged commit b5ebeb7ba6 into master 2026-06-11 19:45:30 -04:00
rafaga21 deleted branch feat/push-monitoring-agent-v2 2026-06-11 19:45:32 -04:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: devlab/server-manager#45