Files
homelab/roles/gitea-runner/templates/act_runner.service.j2
Alex Frantz c8cceee3a9
Some checks failed
Deploy Containers / Prepare (push) Failing after 12s
move gitea to role, fix deploy script
2025-07-29 21:16:54 -04:00

16 lines
488 B
Django/Jinja

[Unit]
Description=Gitea Actions runner
Documentation=https://gitea.com/gitea/act_runner
After=docker.service
[Service]
ExecStart={{ data_dir }}/gitea/act_runner daemon --instance {{ GITEA_INSTANCE_URL }} --token {{ GITEA_RUNNER_REGISTRATION_TOKEN }} --name {{ GITEA_RUNNER_NAME }} --labels {{ GITEA_RUNNER_LABELS }}
ExecReload=/bin/kill -s HUP $MAINPID
WorkingDirectory={{ data_dir }}/gitea
TimeoutSec=0
RestartSec=10
Restart=always
User=act_runner
[Install]
WantedBy=multi-user.target