aur/woodpecker/woodpecker-server.service

22 lines
418 B
SYSTEMD
Raw Normal View History

2022-11-14 20:24:47 +01:00
[Unit]
Description=Woodpecker server
Requires=network-online.target
After=network-online.target
[Service]
User=woodpecker-server
Type=simple
EnvironmentFile=/etc/woodpecker/server
ExecStart=/usr/bin/woodpecker-server
ExecReload=/usr/bin/kill -HUP $MAINPID
Restart=on-failure
KillSignal=SIGINT
LimitNOFILE=8192
PrivateDevices=yes
DynamicUser=yes
StateDirectory=woodpecker-server
[Install]
WantedBy=multi-user.target