summaryrefslogtreecommitdiff
path: root/neozip/arch/s390/self-hosted-builder/actions-runner.service
diff options
context:
space:
mode:
Diffstat (limited to 'neozip/arch/s390/self-hosted-builder/actions-runner.service')
-rw-r--r--neozip/arch/s390/self-hosted-builder/actions-runner.service18
1 files changed, 18 insertions, 0 deletions
diff --git a/neozip/arch/s390/self-hosted-builder/actions-runner.service b/neozip/arch/s390/self-hosted-builder/actions-runner.service
new file mode 100644
index 0000000000..79560cde18
--- /dev/null
+++ b/neozip/arch/s390/self-hosted-builder/actions-runner.service
@@ -0,0 +1,18 @@
+[Unit]
+Description=Podman container: Gaplib Github Actions Runner
+Wants=network-online.target
+After=network-online.target
+StartLimitIntervalSec=1
+RequiresMountsFor=/run/user/1001/containers
+
+[Service]
+Environment=PODMAN_SYSTEMD_UNIT=%n
+Restart=always
+TimeoutStopSec=61
+ExecStart=/usr/bin/podman start gaplib-actions-runner
+ExecStop=/usr/bin/podman stop -t 30 gaplib-actions-runner
+ExecStopPost=/usr/bin/podman stop -t 10 gaplib-actions-runner
+Type=forking
+
+[Install]
+WantedBy=default.target