refactor: systemd file does not need to be in root dir (#538)

This commit is contained in:
James Read 2025-03-22 01:06:22 +00:00 committed by GitHub
parent e0bc1d86f6
commit b4c886d5d3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 2 deletions

View File

@ -73,7 +73,6 @@ archives:
- README.md
- Dockerfile
- webui
- OliveTin.service
- ./var/
name_template: "{{ .ProjectName }}-{{ .Os }}-{{ .Arch }}{{ .Arm }}"
wrap_in_directory: true
@ -152,7 +151,7 @@ nfpms:
file_name_template: '{{ .PackageName }}_{{ .Os }}_{{ .Arch }}{{ with .Arm }}v{{ . }}{{ end }}{{ with .Mips }}_{{ . }}{{ end }}{{ if not (eq .Amd64 "v1") }}{{ .Amd64 }}{{ end }}'
contents:
- src: OliveTin.service
- src: /var/systemd/OliveTin.service
dst: /etc/systemd/system/OliveTin.service
- src: webui/*