- Create gitea-runner user with podman access - Install podman-docker for docker CLI compatibility - Download and configure act_runner binary - Systemd service for act_runner daemon - Host-mode runner labels for Fedora 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
18 lines
476 B
Django/Jinja
18 lines
476 B
Django/Jinja
[Unit]
|
|
Description=Gitea Actions runner
|
|
Documentation=https://gitea.com/gitea/act_runner
|
|
After=network.target
|
|
|
|
[Service]
|
|
ExecStart={{ act_runner_bin }} daemon --config {{ act_runner_config_dir }}/config.yaml
|
|
WorkingDirectory={{ act_runner_work_dir }}
|
|
TimeoutSec=0
|
|
RestartSec=10
|
|
Restart=always
|
|
User={{ gitea_runner_user }}
|
|
Environment="XDG_RUNTIME_DIR=/run/user/%(uid)"
|
|
Environment="DOCKER_HOST=unix:///run/user/%(uid)/podman/podman.sock"
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|