17 lines
381 B
Plaintext
17 lines
381 B
Plaintext
|
[Unit]
|
||
|
Description=Gitea Actions runner
|
||
|
Documentation=https://gitea.com/gitea/act_runner
|
||
|
After=docker.service
|
||
|
|
||
|
[Service]
|
||
|
ExecStart=/usr/local/bin/act_runner daemon --config /etc/act_runner/config.yaml
|
||
|
ExecReload=/bin/kill -s HUP $MAINPID
|
||
|
WorkingDirectory=/var/lib/act_runner
|
||
|
TimeoutSec=0
|
||
|
RestartSec=10
|
||
|
Restart=always
|
||
|
User={{ actrunner_user }}
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|