14 lines
256 B
Bash
Executable File
14 lines
256 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Remove configs & rc.d scripts
|
|
rm -rv /usr/local/etc/{ntfy,rc.d/ntfy*}
|
|
|
|
# Remove binary
|
|
rm -v /usr/local/bin/ntfy
|
|
|
|
# Remove pid, attachment, and database directories
|
|
rm -rv /var/{run/ntfy,cache/ntfy,lib/ntfy}
|
|
|
|
# Remove ntfy user
|
|
rmuser -v ntfy
|