woodpecker/nfpm/server.yaml
Johannes Kastl 8768eb2a2b
Add systemd unit files to the RPM/DEB packages (#3986)
* add systemd unit file for server (`woodpecker-server.service`)
* add systemd unit file for agent (`woodpecker-agent.service`)
* add systemd unit files to nfpm package definitions
* add etc config file examples

fixes #1575
2024-08-25 22:28:42 +02:00

16 lines
518 B
YAML

name: woodpecker-server
arch: amd64
platform: linux
version: ${VERSION_NUMBER}
description: Woodpecker Server
homepage: https://github.com/woodpecker-ci/woodpecker
license: Apache 2.0
maintainer: Woodpecker Authors <maintainer@woodpecker-ci.org>
section: daemon/system
contents:
- src: ./dist/server/linux_amd64/woodpecker-server
dst: /usr/local/bin/woodpecker-server
- src: ./woodpecker-server.service
dst: /usr/local/lib/systemd/system/
- src: ./woodpecker-server.env.example
dst: /etc/woodpecker/