Initialize repo with docs on how to host runners

This commit is contained in:
Magnus Leßmann (@MarkL4YG) 2025-01-07 16:28:33 +01:00
commit 43b6760978
Signed by: Mark.TwoFive
GPG key ID: 5B5EBCBE331F1E6F
3 changed files with 118 additions and 0 deletions

View file

@ -0,0 +1,16 @@
[Unit]
Description=Forgejo Runner
Documentation=https://forgejo.org/docs/latest/admin/actions/
After=podman-socket.service
[Service]
ExecStart=/home/forgejo-runner/.local/bin/forgejo-runner daemon
ExecReload=/bin/kill -s HUP $MAINPID
WorkingDirectory=/home/forgejo-runner
Restart=on-failure
TimeoutSec=0
RestartSec=10
[Install]
WantedBy=default.target