summaryrefslogtreecommitdiffstats
path: root/debian/knot-resolver.postrm
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--debian/knot-resolver.postrm8
1 files changed, 8 insertions, 0 deletions
diff --git a/debian/knot-resolver.postrm b/debian/knot-resolver.postrm
new file mode 100644
index 0000000..d67739e
--- /dev/null
+++ b/debian/knot-resolver.postrm
@@ -0,0 +1,8 @@
+#!/bin/sh
+set -e
+
+if [ "$1" = "remove" ] && [ -x "/bin/systemctl" ]; then
+ systemctl stop system-kresd.slice || true
+fi
+
+#DEBHELPER#