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