Skip to main content

Environment variables

Install script​

VariableEffect
DEACONGUARD_TOKENInstall 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_VERSIONInstall 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​

VariableEffect
DEACONGUARD_HOMEThe data directory. Default: /var/lib/deaconguard for the server service, ~/.local/share/deaconguard otherwise.
DEACONGUARD_AGENT_CONFIGThe agent's configuration file. Default: /etc/deaconguard/agent.json for root.
DEACONGUARD_TOKENRead by deaconguard setup agent when no --token-file is given.