]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
distro/deb: daemon-reload after http installation
authorTomas Krizek <tomas.krizek@nic.cz>
Wed, 17 Apr 2019 14:30:54 +0000 (16:30 +0200)
committerTomas Krizek <tomas.krizek@nic.cz>
Thu, 18 Apr 2019 15:09:57 +0000 (17:09 +0200)
distro/deb/knot-resolver-module-http.postinst [new file with mode: 0644]

diff --git a/distro/deb/knot-resolver-module-http.postinst b/distro/deb/knot-resolver-module-http.postinst
new file mode 100644 (file)
index 0000000..fe81bec
--- /dev/null
@@ -0,0 +1,6 @@
+#!/bin/sh
+set -e
+
+if [ "$1" = "configure" ]; then
+    systemctl daemon-reload || true
+fi