Make ntfy run as ntfy user/group, closes #38

This commit is contained in:
Philipp Heckel 2021-12-08 22:08:44 -05:00
parent 808b63eaa1
commit 9a56c24dbe
6 changed files with 28 additions and 3 deletions

View file

@ -52,6 +52,8 @@ nfpms:
type: config
- src: config/ntfy.service
dst: /lib/systemd/system/ntfy.service
- dst: /var/cache/ntfy
type: dir
scripts:
postinstall: "scripts/postinst.sh"
preremove: "scripts/prerm.sh"