summaryrefslogtreecommitdiffstats
path: root/debian/knot-resolver.postrm
diff options
context:
space:
mode:
Diffstat (limited to 'debian/knot-resolver.postrm')
-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..78f3b6f
--- /dev/null
+++ b/debian/knot-resolver.postrm
@@ -0,0 +1,8 @@
+#!/bin/sh
+set -e
+
+if [ "$1" = "remove" ]; then
+ deb-systemd-invoke stop system-kresd.slice || true
+fi
+
+#DEBHELPER#