1
0
forked from infra/ansible
infra/roles/act_runner/templates/act_runner.service.j2
Markus Hauschild cf373d84ec act_runner: new role
gitea actions will replace drone
2024-01-11 17:28:09 +01:00

17 lines
381 B
Django/Jinja

[Unit]
Description=Gitea Actions runner
Documentation=https://gitea.com/gitea/act_runner
After=docker.service
[Service]
ExecStart=/usr/local/bin/act_runner daemon --config /etc/act_runner/config.yaml
ExecReload=/bin/kill -s HUP $MAINPID
WorkingDirectory=/var/lib/act_runner
TimeoutSec=0
RestartSec=10
Restart=always
User={{ actrunner_user }}
[Install]
WantedBy=multi-user.target