blob: 116fc906f4d734123f4a9a813143400b5b967406 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
[Unit]
Description=Woodpecker agent
Documentation=https://woodpecker-ci.org/docs/intro
Requires=network-online.target
After=network-online.target
[Service]
User=woodpecker-agent
Group=woodpecker-agent
EnvironmentFile=/etc/woodpecker/agent.env
ExecStart=/usr/bin/woodpecker-agent
RestartSec=5
Restart=on-failure
SyslogIdentifier=woodpecker-agent
WorkingDirectory=/var/lib/woodpecker-agent
ReadWritePaths=/var/lib/woodpecker-agent
[Install]
WantedBy=multi-user.target
|