Skip to content

Environment variables

The agent is deliberately light on environment configuration: everything operational lives in the config file or comes from CLI flags. The variables it honors:

VariablePurpose
SSL_CERT_FILEPath to a CA certificate bundle. If unset, the agent auto-detects the system bundle (the usual Debian/RHEL/Alpine/Arch paths) and falls back to embedded CA certificates on minimal systems.
SSL_CERT_DIRPath to a CA certificate directory; same auto-detection applies.
HOMEUsed to resolve user-mode paths (~/.config/thinr-agent/…).
USERUsed to detect the current user during installation.
TERM, TERM_PROGRAM, VTE_VERSIONTerminal detection for colored interactive output; no effect on service behavior.

For a systemd service, set variables in an override file:

bash
systemctl edit thinr-agent
# [Service]
# Environment=SSL_CERT_FILE=/path/to/bundle.pem

There is no environment variable for the config path; use the -c, --config flag in the service unit if you need a non-default location.

Released under the MIT License.