dh_installinit's -R option uses 'restart' causing a stop-start cycle with systemd. We really don't want that. --- debian/postinst | 1 + debian/rules | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/debian/postinst b/debian/postinst index 3c6963f..e611f47 100644 --- a/debian/postinst +++ b/debian/postinst @@ -4,6 +4,7 @@ set -e case "$1" in configure) + systemctl reload-or-restart pve-firewall ;; abort-upgrade|abort-remove|abort-deconfigure) diff --git a/debian/rules b/debian/rules index 330174d..4a03d64 100755 --- a/debian/rules +++ b/debian/rules @@ -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 -- 2.1.4 _______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel