Environment variables
Install script
| Variable | Effect |
|---|---|
DEACONGUARD_TOKEN | Install an agent and enroll it with this token. The script passes it to setup through a private temporary file, never on a command line. |
DEACONGUARD_VERSION | Install this release, for example 0.4.0, instead of the latest. |
Set them before sh, not before curl:
curl -fsSL https://get.deaconguard.io | DEACONGUARD_VERSION=0.4.0 DEACONGUARD_TOKEN=deaconguard1.… sh -
DeaconGuard
| Variable | Effect |
|---|---|
DEACONGUARD_HOME | The data directory. Default: /var/lib/deaconguard for the server service, ~/.local/share/deaconguard otherwise. |
DEACONGUARD_AGENT_CONFIG | The agent's configuration file. Default: /etc/deaconguard/agent.json for root. |
DEACONGUARD_TOKEN | Read by deaconguard setup agent when no --token-file is given. |