diff --git a/docker/agents/entrypoint.sh b/docker/agents/entrypoint.sh index ea0a85a..c5f5163 100644 --- a/docker/agents/entrypoint.sh +++ b/docker/agents/entrypoint.sh @@ -18,7 +18,8 @@ log() { # Build crontab from project TOMLs and install for the agent user. install_project_crons() { - local cron_lines="DISINTO_CONTAINER=1" + local cron_lines="DISINTO_CONTAINER=1 +USER=agent" for toml in "${DISINTO_DIR}"/projects/*.toml; do [ -f "$toml" ] || continue local pname