summarylogtreecommitdiffstats
path: root/server-systemd.service
blob: 526fb752cb37513aff363e477891c7faeea391e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
[Unit]
Description=Woodpecker server
Documentation=https://woodpecker-ci.org/docs/intro
Requires=network-online.target
After=network-online.target

[Service]
User=woodpecker-server
Group=woodpecker-server
EnvironmentFile=/etc/woodpecker/server.env
ExecStart=/usr/bin/woodpecker-server
RestartSec=5
Restart=on-failure
SyslogIdentifier=woodpecker-server
WorkingDirectory=/var/lib/woodpecker-server
ReadWritePaths=/var/lib/woodpecker-server

[Install]
WantedBy=multi-user.target