Update git_ci role from polyfloyd's infra
This commit is contained in:
parent
6cff97e2bb
commit
b74a9859b2
8 changed files with 89 additions and 56 deletions
14
roles/git_ci/templates/forgejo-runner.service
Normal file
14
roles/git_ci/templates/forgejo-runner.service
Normal file
|
@ -0,0 +1,14 @@
|
|||
# {{ ansible_managed }}
|
||||
|
||||
[Unit]
|
||||
Description=Forgejo Runner
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/local/bin/forgejo-runner daemon
|
||||
WorkingDirectory={{ git_ci_runner_wd }}
|
||||
Restart=on-failure
|
||||
RestartSec=10s
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Add table
Add a link
Reference in a new issue