summaryrefslogtreecommitdiff
path: root/debian/knot.postrm
diff options
context:
space:
mode:
authorOndřej Surý <ondrej@sury.org>2013-07-02 13:08:27 +0200
committerOndřej Surý <ondrej@sury.org>2013-07-02 14:42:34 +0200
commitf2dbfc98861b53337c89d3784f4082a02ec30ce6 (patch)
tree902490f713b3d02b8805a37084b16bb3c709d3c5 /debian/knot.postrm
parentcf112b7cfe514d52c8800fa3c8a776ba0b8a892c (diff)
downloadknot-f2dbfc98861b53337c89d3784f4082a02ec30ce6.tar.gz
Add proper support for upstart and systemd along with sysvinit
Diffstat (limited to 'debian/knot.postrm')
-rw-r--r--debian/knot.postrm2
1 files changed, 2 insertions, 0 deletions
diff --git a/debian/knot.postrm b/debian/knot.postrm
index 31b8993..43e5f14 100644
--- a/debian/knot.postrm
+++ b/debian/knot.postrm
@@ -1,6 +1,8 @@
#!/bin/sh
set -e
+dpkg-maintscript-helper rm_conffile /etc/default/knot 1.3.0~rc3-2~ -- "$@"
+
if test "$1" = "purge"; then
spool=/var/lib/knot
rm -f $spool/*.db $spool/*.db.crc