]> git.proxmox.com Git - pve-firewall.git/commitdiff
use systemctl reload-or-restart on update
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Tue, 1 Mar 2016 11:20:21 +0000 (12:20 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 2 Mar 2016 07:05:17 +0000 (08:05 +0100)
dh_installinit's -R option uses 'restart' causing a
stop-start cycle with systemd. We really don't want that.

debian/postinst
debian/rules

index 3c6963fed945d2820eb2805cbef7aab6869a204e..e611f47de28c1543441475f6b833403085e1dd3b 100644 (file)
@@ -4,6 +4,7 @@ set -e
 
 case "$1" in
     configure)
+       systemctl reload-or-restart pve-firewall
     ;;
 
     abort-upgrade|abort-remove|abort-deconfigure)
index 330174d7a96d73b5fb7056de8f5416059c1f6f01..4a03d640bda8b416cdb2c4803250ec4355de2dff 100755 (executable)
@@ -8,4 +8,4 @@
 
 override_dh_installinit:
        dh_installinit -R --name pvefw-logger
-       dh_installinit -R -p pve-firewall
+       dh_installinit -p pve-firewall --no-restart-on-upgrade