mirror of
https://git.zavage.net/Zavage-Software/zavage-gitea-runner.git
synced 2024-11-22 12:00:24 -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
|