Enrollment token kept off the agent command line
Agent 0.4.94
Enrollment token kept off the agent command line
On Linux and macOS the agent reads its enrollment token from the environment, and failed command polls back off before retrying.
- On Linux and macOS the agent reads its enrollment token from the environment, so the token is no longer visible in the process list. New installs use this form; an existing service keeps its earlier setup until it is reinstalled.
- After a failed command poll the agent retries within a growing window instead of every 5 seconds. The window starts at 5 seconds, doubles to a 60 second ceiling and is randomized, and the agent honors a wait requested by the server of up to two minutes. Heartbeats continue during the wait.
