24 lines
531 B
Desktop File
24 lines
531 B
Desktop File
[Unit]
|
|
Description=Gitea Actions runner using docker
|
|
Documentation=https://gitea.com/gitea/runner
|
|
After=docker.service gitea.service
|
|
|
|
[Service]
|
|
User=gitea-runner
|
|
ExecStart=/usr/bin/gitea-runner daemon -c /etc/gitea-runner/config.yaml
|
|
ExecReload=/bin/kill -s HUP $MAINPID
|
|
WorkingDirectory=~
|
|
Environment=DOCKER_HOST=unix:///run/docker.sock
|
|
Type=exec
|
|
TimeoutStartSec=30
|
|
TimeoutStopSec=120
|
|
Restart=always
|
|
RestartSec=5
|
|
RestartMaxDelaySec=60
|
|
RestartSteps=3
|
|
StartLimitBurst=30
|
|
StartLimitIntervalSec=180
|
|
|
|
[Install]
|
|
WantedBy=default.target
|