6 lines
112 B
Bash
Executable file
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
|