diff --git a/mkosi.extra/usr/lib/systemd/system/gitea-runner.service b/mkosi.extra/usr/lib/systemd/system/gitea-runner.service index 2a60c12..116f067 100644 --- a/mkosi.extra/usr/lib/systemd/system/gitea-runner.service +++ b/mkosi.extra/usr/lib/systemd/system/gitea-runner.service @@ -11,6 +11,7 @@ Requires=podman.socket # get the socket (see config.yaml). WorkingDirectory=/var/lib/gitea-runner EnvironmentFile=/var/lib/gitea-runner/runner.env +Environment=HOME=/var/lib/gitea-runner Environment=DOCKER_HOST=unix:///run/podman/podman.sock # The hostname is the runner's name. /etc is read-only, so it is set on every start. ExecStartPre=/usr/bin/hostnamectl hostname --transient ${GITEA_RUNNER_NAME}