]> git.proxmox.com Git - pve-firewall.git/commitdiff
do not restart pvefw-logger with debian triggers
authorDietmar Maurer <dietmar@proxmox.com>
Mon, 19 May 2014 08:58:21 +0000 (10:58 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Mon, 19 May 2014 08:58:21 +0000 (10:58 +0200)
That is not necessary.

debian/postinst [new file with mode: 0644]

diff --git a/debian/postinst b/debian/postinst
new file mode 100644 (file)
index 0000000..e413542
--- /dev/null
@@ -0,0 +1,25 @@
+#!/bin/sh
+
+set -e
+
+case "$1" in
+    configure)
+    ;;
+
+    triggered)
+        invoke-rc.d pve-firewall restart
+       exit 0
+    ;;
+
+    abort-upgrade|abort-remove|abort-deconfigure)
+    ;;
+
+    *)
+        echo "postinst called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+#DEBHELPER#
+
+exit 0
\ No newline at end of file