postrm.sh 112 B

123456
  1. #!/bin/sh
  2. set -eu
  3. systemctl stop ntfy >/dev/null 2>&1 || true
  4. if [ "$1" = "purge" ]; then
  5. rm -rf /etc/ntfy
  6. fi