blob: 7a4031a91f9faa46011627e1c88c74e03bf624a4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
[Unit]
Description=Woodpecker Agent
After=syslog.target
After=network.target
[Service]
RestartSec=2s
Type=simple
User=woodpecker-agent
Group=woodpecker-agent
WorkingDirectory=/var/lib/woodpecker-agent/
ExecStart=/usr/local/bin/woodpecker-agent
Restart=always
EnvironmentFile=/etc/woodpecker_agent
[Install]
WantedBy=multi-user.target
|