Files
runneros/mkosi.extra/usr/lib/systemd/system/gitea-runner.path
Job79andClaude Opus 5.5 018f15172d Ask for the registration and capacity at first boot
gitea-runner-setup asks on the console for the number of parallel jobs,
the Gitea URL and a registration token, and registers the runner. It runs
until the runner is registered, and logins wait for it, as for
systemd-firstboot. The capacity goes to a drop-in of gitea-runner.service,
which passes it to the config as CAPACITY, so the config stays read-only.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 18:57:23 +00:00

11 lines
263 B
SYSTEMD

# gitea-runner.path starts the runner once it is registered, so a new machine
# waits for gitea-runner-setup.service.
[Unit]
Description=Start the Gitea runner once registered
[Path]
PathExists=/var/lib/gitea-runner/.runner
[Install]
WantedBy=multi-user.target