mirror of
https://github.com/binwiederhier/ntfy.git
synced 2024-12-25 18:01:51 +03:00
7 lines
112 B
Bash
Executable File
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
|