#
# /etc/autodist/autodistd -- autodistd local configuration
#
# Read directly by autodistd itself (see autodistd_app/config.py's
# load_autodistd_conf()), not sourced by any bash script and not passed
# via the process environment -- this is the one place these values live,
# regardless of whether autodistd is started by autodistd.service or (on
# the buildvm-* Docker images) buildvm-init.
#
# Should be owned by root and readable only by the autodist user/group
# (chmod 640, chown root:autodist) -- it holds the API key that gates
# every write endpoint (schedule control, kill, patch removal).
#
# Required for write access to the API; read endpoints work fine without
# it (requests just get refused with 401/503 instead of allowed).
#AUTODISTD_API_KEY=

# If truthy (anything other than empty or "0"), every environment starts
# paused: nothing fires until an explicit resume/run-now via the API.
# Useful for shadow-testing autodistd alongside a still-active cron/timer
# trigger without any risk of the two overlapping.
#AUTODISTD_START_PAUSED=0

# Port uvicorn binds to. Defaults to 8021 if unset.
#AUTODISTD_PORT=8021
