rpm: Do not replace server.yml, closes #166

This commit is contained in:
Philipp Heckel 2022-03-14 17:21:28 -04:00
parent d0bbda555f
commit 53e08988e7
2 changed files with 14 additions and 2 deletions

View file

@ -59,12 +59,12 @@ nfpms:
contents:
- src: server/server.yml
dst: /etc/ntfy/server.yml
type: config
type: "config|noreplace"
- src: server/ntfy.service
dst: /lib/systemd/system/ntfy.service
- src: client/client.yml
dst: /etc/ntfy/client.yml
type: config
type: "config|noreplace"
- src: client/ntfy-client.service
dst: /lib/systemd/system/ntfy-client.service
- dst: /var/cache/ntfy