]> git.proxmox.com Git - pve-ha-manager.git/commitdiff
debian/rules: add some explaining comments
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Wed, 20 Dec 2017 10:34:03 +0000 (11:34 +0100)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Thu, 28 Dec 2017 15:37:25 +0000 (16:37 +0100)
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Reviewed-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
debian/rules

index a2be05a46c932d151a21cd3e55e2bb57ec5ab87c..468631f68e070278e2da6ed8054552051a78db8c 100755 (executable)
 %:
        dh $@ --with=systemd
 
+# dh_systemd_enable watchdog-mux despite it being static to get it installed in
+# the correct location/package without manual intervention
 override_dh_systemd_enable:
        dh_systemd_enable -ppve-ha-manager --name watchdog-mux watchdog-mux.service
        dh_systemd_enable -ppve-ha-manager --name pve-ha-crm pve-ha-crm.service
        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
 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