inital version

This commit is contained in:
2025-01-26 20:10:54 +01:00
parent fda020459f
commit 2d02d0c7bb
7 changed files with 251 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
[Unit]
Description=Gitea Actions runner
Documentation=https://gitea.com/gitea/act_runner
After=docker.service
[Service]
ExecStart={{ RUNNER_DIR }}/{{ RUNNER_NAME }} daemon --config {{ RUNNER_DIR }}/config.yml
ExecReload=/bin/kill -s HUP $MAINPID
WorkingDirectory={{ RUNNER_DIR }}
TimeoutSec=0
RestartSec=10
Restart=always
User={{ RUNNER_USER }}
[Install]
WantedBy=multi-user.target