This allows to use an autogenerated postinst in a later patch

Signed-off-by: Thomas Lamprecht <[email protected]>
---

Needed for the postinst series I sent recently [1], else the removal
of the trigger part there is not correct as it enables watchdog-mux
restart again, which we really do not want.

[1]: https://pve.proxmox.com/pipermail/pve-devel/2018-January/030426.html

 debian/rules | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/debian/rules b/debian/rules
index 468631f..0722c31 100755
--- a/debian/rules
+++ b/debian/rules
@@ -20,6 +20,8 @@ override_dh_systemd_enable:
        dh_systemd_enable -ppve-ha-manager --name pve-ha-lrm pve-ha-lrm.service
 
 # restart LRM first, else single-node clusters with configured HA will deadlock
+# ensure watchdog-mux gets started, but never stopped/restarted after upgrade
 override_dh_systemd_start:
        dh_systemd_start -ppve-ha-manager --name pve-ha-lrm 
--restart-after-upgrade pve-ha-lrm.service
        dh_systemd_start -ppve-ha-manager --name pve-ha-crm 
--restart-after-upgrade pve-ha-crm.service
+       dh_systemd_start -ppve-ha-manager --name watchdog-mux 
--no-stop-on-upgrade watchdog-mux.service
-- 
2.14.2


_______________________________________________
pve-devel mailing list
[email protected]
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to