aboutsummaryrefslogtreecommitdiff
path: root/roles/gitea_runner/files
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2023-04-14 17:22:21 +0200
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2023-04-14 17:22:21 +0200
commit613cc4b223fe2fd29070a2df52cc6a8f4cf0e271 (patch)
treee077f4ab47f94c5ecfa2908e58b3386b26528756 /roles/gitea_runner/files
parent59b5e6cbb13bf00f074ec9cd4944055cc36192bc (diff)
downloadansible_collection-613cc4b223fe2fd29070a2df52cc6a8f4cf0e271.tar.gz
gitea_runner
Diffstat (limited to 'roles/gitea_runner/files')
-rw-r--r--roles/gitea_runner/files/act_runner.service15
1 files changed, 15 insertions, 0 deletions
diff --git a/roles/gitea_runner/files/act_runner.service b/roles/gitea_runner/files/act_runner.service
new file mode 100644
index 0000000..f6bbca0
--- /dev/null
+++ b/roles/gitea_runner/files/act_runner.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=Gitea act_runner
+After=syslog.target
+After=network.target
+
+[Service]
+RestartSec=2s
+Type=simple
+User=runner
+Group=runner
+ExecStart=/usr/local/bin/act_runner -c /etc/act_runner/config.yaml daemon
+Restart=always
+
+[Install]
+WantedBy=multi-user.target