]>
Commit | Line | Data |
---|---|---|
ba878e35 DM |
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 | %: | |
bcde32d4 DM |
13 | dh $@ --with=systemd |
14 | ||
15 | override_dh_systemd_enable: | |
16 | ||
17 | dh_systemd_enable -ppve-ha-manager --name watchdog-mux | |
b1aac243 | 18 | dh_systemd_enable -ppve-ha-manager --name pve-ha-crm |
df5743bd | 19 | dh_systemd_enable -ppve-ha-manager --name pve-ha-lrm |
42ea821f DM |
20 | |
21 | override_dh_systemd_start: | |
6d3b8d9b | 22 | dh_systemd_start -ppve-ha-manager --name watchdog-mux --no-restart-on-upgrade watchdog-mux.service |
13cf3b88 | 23 | dh_systemd_start -ppve-ha-manager --name pve-ha-lrm --restart-after-upgrade pve-ha-lrm.service |
622cb56a | 24 | dh_systemd_start -ppve-ha-manager --name pve-ha-crm --restart-after-upgrade pve-ha-crm.service |