[pve-devel] [PATCH ha-manager 1/3] debian/rules: add file names to dh_systemd_enable
Fabian Grünbichler
f.gruenbichler at proxmox.com
Wed Dec 20 11:34:01 CET 2017
otherwise it gets confused and enables pve-ha-crm twice in the postinst.
Signed-off-by: Fabian Grünbichler <f.gruenbichler at proxmox.com>
---
Note: the behaviour change is not related to the removed blank line
debian/rules | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/debian/rules b/debian/rules
index 351d880..3026e75 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,10 +13,9 @@
dh $@ --with=systemd
override_dh_systemd_enable:
-
- dh_systemd_enable -ppve-ha-manager --name watchdog-mux
- dh_systemd_enable -ppve-ha-manager --name pve-ha-crm
- dh_systemd_enable -ppve-ha-manager --name pve-ha-lrm
+ 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
override_dh_systemd_start:
dh_systemd_start -ppve-ha-manager --name watchdog-mux --no-restart-on-upgrade watchdog-mux.service
--
2.14.2
More information about the pve-devel
mailing list