ntfy/scripts/postrm.sh
2021-11-29 10:57:18 -05:00

6 lines
112 B
Bash
Executable file

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