Add ebuild for forgejo-runner 12.6.2.

Also, corresponding user and group ebuilds.

Signed-off-by: Manuel Friedli <manuel@fritteli.ch>
This commit is contained in:
Manuel Friedli 2026-01-26 17:20:11 +01:00
parent 85396067ef
commit 438ace393b
13 changed files with 201 additions and 0 deletions

View file

@ -0,0 +1,18 @@
[Unit]
Description=Forgejo Runner
Documentation=https://forgejo.org/docs/latest/admin/actions/
After=docker.service
[Service]
ExecStart=/usr/bin/forgejo-runner daemon
ExecReload=/bin/kill -s HUP $MAINPID
# This user and working directory must already exist
User=forgeko-runner
WorkingDirectory=/var/lib/forgejo-runner
Restart=on-failure
TimeoutSec=0
RestartSec=10
[Install]
WantedBy=multi-user.target