1
0
Fork 0
mirror of https://github.com/binwiederhier/ntfy.git synced 2024-08-20 18:23:50 +02:00
ntfy/scripts/postrm.sh
2021-11-29 10:57:18 -05:00

7 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