[Unit]
Description=Woodpecker CI Server

[Service]
ExecStart=/usr/bin/woodpecker-server
User=woodpecker
EnvironmentFile=-/etc/default/woodpecker-server
AmbientCapabilities=CAP_NET_BIND_SERVICE
CapabilityBoundingSet=CAP_NET_BIND_SERVICE

[Install]
WantedBy=multi-user.target