From 613cc4b223fe2fd29070a2df52cc6a8f4cf0e271 Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Fri, 14 Apr 2023 17:22:21 +0200 Subject: gitea_runner --- roles/gitea_runner/files/act_runner.service | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 roles/gitea_runner/files/act_runner.service (limited to 'roles/gitea_runner/files/act_runner.service') 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 -- cgit v1.2.3