Installation of act_runner for automatically building on gitea workflow

This commit is contained in:
2023-12-18 18:07:35 -05:00
parent dadbe171d2
commit aa565bdfce
3 changed files with 56 additions and 1 deletions

View File

@@ -0,0 +1,12 @@
[Unit]
Description=Act Runner for automatic builds from Gitea.
[Service]
Environment="DOCKER_HOST=unix://{{ lookup('ansible.builtin.env','XDG_RUNTIME_DIR') }}/podman/podman.sock"
Type=simple
ExecStart=/home/ptoal/act_runner daemon
Restart=on-failure
StandardOutput=file:%h/log_file
[Install]
WantedBy=default.target