Properly handle systemd start/stop during Debian package install, closes #30

This commit is contained in:
Philipp Heckel 2021-12-04 15:32:21 -05:00
parent 07a1fe3acb
commit 6fbbb0c7b5
4 changed files with 38 additions and 3 deletions

View file

@ -53,6 +53,8 @@ nfpms:
- src: config/ntfy.service
dst: /lib/systemd/system/ntfy.service
scripts:
postinstall: "scripts/postinst.sh"
preremove: "scripts/prerm.sh"
postremove: "scripts/postrm.sh"
archives:
-