diff --git a/.goreleaser.yml b/.goreleaser.yml index 2c70ecf..c127271 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -14,7 +14,8 @@ builds: - -s -w -X main.version={{.Tag}} -X main.Date={{.CommitDate}} mod_timestamp: '{{.CommitTimestamp}}' archives: - - format: binary + - formats: + - binary name_template: >- {{ .ProjectName }}_ {{- if eq .Os "linux" }}Linux @@ -63,6 +64,9 @@ nfpms: - src: deb/ldddns.gpg dst: /usr/share/keyrings/ldddns.gpg + - src: deb/ldddns.8 + dst: /usr/share/man/man8/ldddns.8 + scripts: postinstall: "deb/postinstall.sh" preremove: "deb/preremove.sh" diff --git a/deb/ldddns.8 b/deb/ldddns.8 new file mode 100644 index 0000000..33928ed --- /dev/null +++ b/deb/ldddns.8 @@ -0,0 +1,23 @@ +.TH LDDDNS 8 "" "" "Local Docker Development DNS" +.SH NAME +Local Docker Development DNS +.SH SYNOPSIS +.B systemctl +start ldddns + +.B systemctl +status ldddns +.SH DESCRIPTION +A systemd service that will monitor your Docker host and provide DNS names for the containers. + + +.SH AUTHOR +Written by Arne Jørgensen - https://arnested.dk + +.SH REPORTING BUGS +Report bugs to https://github.com/arnested/ldddns/issues + +.SH COPYRIGHT +Copyright © 2020, 2021, 2022, 2023, 2024 Arne Jørgensen + +Licensed under MIT License