]> git.proxmox.com Git - pve-ha-manager.git/blob - debian/rules
debian/rules: don't dh_systemd_start watchdog-mux
[pve-ha-manager.git] / debian / rules
1 #!/usr/bin/make -f
2 # -*- makefile -*-
3 # Sample debian/rules that uses debhelper.
4 # This file was originally written by Joey Hess and Craig Small.
5 # As a special exception, when this file is copied by dh-make into a
6 # dh-make output file, you may use that output file without restriction.
7 # This special exception was added by Craig Small in version 0.37 of dh-make.
8
9 # Uncomment this to turn on verbose mode.
10 #export DH_VERBOSE=1
11
12 %:
13 dh $@ --with=systemd
14
15 override_dh_systemd_enable:
16 dh_systemd_enable -ppve-ha-manager --name watchdog-mux watchdog-mux.service
17 dh_systemd_enable -ppve-ha-manager --name pve-ha-crm pve-ha-crm.service
18 dh_systemd_enable -ppve-ha-manager --name pve-ha-lrm pve-ha-lrm.service
19
20 override_dh_systemd_start:
21 dh_systemd_start -ppve-ha-manager --name pve-ha-lrm --restart-after-upgrade pve-ha-lrm.service
22 dh_systemd_start -ppve-ha-manager --name pve-ha-crm --restart-after-upgrade pve-ha-crm.service