saving artifacts are breaking in some actions as the runner will switch between different git hosts. using haproxy will ensure the same backend is always hit via stick-tables and cookies - ensure runners use haproxy to reach git we now package act_runner now, lets use the rpm - change installation method to rpm instead of curl + untar - add capability to versionlock act_runner - fix paths to act_runner - remove manually installed act_runner Reviewed-on: #432
18 lines
377 B
Plaintext
18 lines
377 B
Plaintext
[Unit]
|
|
Description=Gitea Actions runner
|
|
Documentation=https://gitea.com/gitea/act_runner
|
|
After=docker.service
|
|
|
|
[Service]
|
|
ExecStart=/usr/bin/act_runner daemon --config <%= @home %>/config.yaml
|
|
ExecReload=/bin/kill -s HUP $MAINPID
|
|
WorkingDirectory=<%= @home %>
|
|
TimeoutSec=0
|
|
RestartSec=10
|
|
Restart=always
|
|
User=<%= @user %>
|
|
Group=<%= @group %>
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|