1
0
Fork 0
mirror of https://github.com/binwiederhier/ntfy.git synced 2025-06-15 09:03:20 +02:00

Makefile, Dockerfile, GoReleaser, config.yml, systemd service

This commit is contained in:
Philipp Heckel 2021-10-23 21:29:45 -04:00
parent a66bd6dad7
commit e1c9fef6dc
16 changed files with 512 additions and 68 deletions
scripts

6
scripts/postrm.sh Normal file
View file

@ -0,0 +1,6 @@
#!/bin/sh
set -eu
systemctl stop ntfy >/dev/null 2>&1 || true
if [ "$1" = "purge" ]; then
rm -rf /etc/ntfy
fi