]> git.proxmox.com Git - pve-ha-manager.git/blob - debian/rules
build: reformat debian/control
[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
17 dh_systemd_enable -ppve-ha-manager --name watchdog-mux
18 dh_systemd_enable -ppve-ha-manager --name pve-ha-crm
19 dh_systemd_enable -ppve-ha-manager --name pve-ha-lrm
20
21 override_dh_systemd_start:
22 dh_systemd_start -ppve-ha-manager --name watchdog-mux --no-restart-on-upgrade watchdog-mux.service
23 dh_systemd_start -ppve-ha-manager --name pve-ha-lrm --restart-after-upgrade pve-ha-lrm.service
24 dh_systemd_start -ppve-ha-manager --name pve-ha-crm --restart-after-upgrade pve-ha-crm.service