blob: 3ba6101a333321bf484606e3225d94614a7eb9d5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
# https://gitea.com/gitea/act_runner/src/tag/v0.2.6/examples/vm/rootless-docker.md
[Unit]
Description=Gitea Actions runner
Documentation=https://gitea.com/gitea/act_runner
After=docker.service
[Service]
Type=exec
User=act_runner
Environment=HOME=/var/lib/act_runner
WorkingDirectory=/var/lib/act_runner
ExecStart=/usr/bin/act_runner daemon -c /etc/act_runner/act_runner.yaml
ExecReload=/usr/bin/kill -s HUP $MAINPID
Restart=always
RestartSec=2
StartLimitBurst=3
StartLimitInterval=60s
[Install]
WantedBy=default.target
|