aboutsummaryrefslogtreecommitdiff
path: root/roles/woodpecker/files/woodpecker-server.service
blob: 96abc630f357d5b1bd232ba4a14bb4a6657064fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[Unit]
Description=Woodpecker Server
After=syslog.target
After=network.target

[Service]
RestartSec=2s
Type=simple
User=woodpecker
Group=woodpecker
WorkingDirectory=/var/lib/woodpecker/
ExecStart=/usr/local/bin/woodpecker-server
Restart=always
EnvironmentFile=/etc/woodpecker_server

[Install]
WantedBy=multi-user.target