diff options
Diffstat (limited to 'roles/gitea_runner/files/act_runner.service')
-rw-r--r-- | roles/gitea_runner/files/act_runner.service | 15 |
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 |