Rename from act-runner to gitea-runner. The upstream projects changed name from act_runner to runner. Reviewed-on: http://git.demus.dk/demus/gitea-runner-rpm/pulls/9 Co-authored-by: Daniel Demus <daniel@demus.dk> Co-committed-by: Daniel Demus <daniel@demus.dk>
31 lines
715 B
Desktop File
31 lines
715 B
Desktop File
[Unit]
|
|
Description=Gitea Actions runner using rootless docker
|
|
Documentation=https://gitea.com/gitea/runner
|
|
After=dockerd-rootless-user.service gitea.service
|
|
|
|
[Service]
|
|
Environment=XDG_RUNTIME_DIR=/run/user/%U
|
|
Environment=DOCKER_HOST=unix:///run/user/%U/docker.sock
|
|
ExecStart=/usr/bin/gitea-runner daemon -c %h/runner/config.yaml
|
|
ExecReload=/bin/kill -s HUP $MAINPID
|
|
Type=exec
|
|
WorkingDirectory=%h/gitea-runner
|
|
TimeoutStartSec=30
|
|
TimeoutStopSec=120
|
|
Restart=always
|
|
RestartSec=5
|
|
RestartMaxDelaySec=60
|
|
RestartSteps=3
|
|
StartLimitBurst=30
|
|
StartLimitIntervalSec=180
|
|
LimitNOFILE=infinity
|
|
LimitNPROC=infinity
|
|
LimitCORE=infinity
|
|
TasksMax=infinity
|
|
Delegate=yes
|
|
NotifyAccess=all
|
|
KillMode=mixed
|
|
|
|
[Install]
|
|
WantedBy=default.target
|