1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2024-12-12 08:23:48 +02:00
woodpecker/nfpm/agent.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

17 lines
511 B
YAML

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