summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2018-03-30 16:51:23 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2018-03-30 16:51:23 +0200
commitdf5450149923efb0366001947c1456ed442bc4bb (patch)
tree78fbc8dcfbe36b7f3499c4dc5c3017435d6fb2a1 /debian/rules
parent8e8a571e8519c80b6a2fef4a50b104f2797fec31 (diff)
Switch from deprecated dh_systemd_enable to dh_installsystemd
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules16
1 files changed, 5 insertions, 11 deletions
diff --git a/debian/rules b/debian/rules
index b710591..273f1a0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -26,14 +26,8 @@ override_dh_installman:
dh_installman doc/iseltime.8
dh_installman
-override_dh_systemd_enable:
- dh_systemd_enable --no-enable --name=ipmi_port
- dh_systemd_enable --name=ipmi_info
- dh_systemd_enable --no-enable --name=ipmiutil_asy
- dh_systemd_enable --no-enable --name=ipmiutil_evt
- dh_systemd_enable --name=ipmiutil_wdt
-
-override_dh_systemd_start:
- dh_systemd_start --no-start --restart-after-upgrade --name=ipmi_port
- dh_systemd_start --no-start --restart-after-upgrade --name=ipmiutil_asy
- dh_systemd_start --no-start --restart-after-upgrade --name=ipmiutil_evt
+override_dh_installsystemd:
+ dh_installsystemd debian/ipmiutil.ipmiutil_wdt.service
+ dh_installsystemd --no-enable --no-start debian/ipmiutil.ipmi_port.service
+ dh_installsystemd --no-enable --no-start debian/ipmiutil.ipmiutil_asy.service
+ dh_installsystemd --no-enable --no-start debian/ipmiutil.ipmiutil_evt.service