mirror of
https://git.zavage.net/Zavage-Software/zavage-gitea-runner.git
synced 2024-11-24 13:29:20 -07:00
19 lines
528 B
Desktop File
19 lines
528 B
Desktop File
[Unit]
|
|
Description=Gitea Actions runner
|
|
Documentation=https://gitea.com/gitea/act_runner
|
|
After=docker.service
|
|
|
|
[Service]
|
|
User=gitea-runner
|
|
Group=gitea-runner
|
|
ExecStart=dbus-run-session /home/gitea-runner/act_runner/act_runner daemon --config /home/gitea-runner/act_runner/config.yaml
|
|
ExecReload=/bin/kill -s HUP $MAINPID
|
|
Environment=DOCKER_HOST=unix:///var/run/user/1013/docker.sock
|
|
WorkingDirectory=/home/gitea-runner/act_runner
|
|
TimeoutSec=0
|
|
RestartSec=10
|
|
Restart=always
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|