nycki.net/tools/forgejo-runner.service
nycki e35780ea63
All checks were successful
/ build (push) Successful in 24s
include runner config
2024-12-28 00:49:57 +00:00

18 lines
389 B
Desktop File

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