1 2 3 4 5 6 7 8
post_install() { /usr/bin/nextdns install } pre_remove() { systemctl stop nextdns /usr/bin/nextdns uninstall }