Install config-example.yaml as example for the debian package
The directory /usr/share/doc/headscale/examples may be used to install arbitrary example files. This is useful to get a matching configuration for the release which gets also overwritten automatically.
This commit is contained in:
parent
de5b1eab68
commit
32e1d77663
3 changed files with 7 additions and 4 deletions
|
|
@ -42,10 +42,9 @@ source:
|
|||
- "vendor/"
|
||||
|
||||
nfpms:
|
||||
# Configure nFPM for .deb and .rpm releases
|
||||
# Configure nFPM for .deb releases
|
||||
#
|
||||
# See https://nfpm.goreleaser.com/configuration/
|
||||
# and https://goreleaser.com/customization/nfpm/
|
||||
# See https://goreleaser.com/customization/package/nfpm/
|
||||
#
|
||||
# Useful tools for debugging .debs:
|
||||
# List file contents: dpkg -c dist/headscale...deb
|
||||
|
|
@ -79,6 +78,8 @@ nfpms:
|
|||
dst: /usr/lib/systemd/system/headscale.service
|
||||
- dst: /var/lib/headscale
|
||||
type: dir
|
||||
- src: ./config-example.yaml
|
||||
dst: /usr/share/doc/headscale/examples/config-example.yaml
|
||||
- src: LICENSE
|
||||
dst: /usr/share/doc/headscale/copyright
|
||||
scripts:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue