@cryptotaxi247 / netdata-1 / commits / 87ff050bd

Explicitly use debhelper to enable systemd service (#12542)

Ralph Meijer committed Mar 31, 2022 at 09:34 UTC 87ff050bd5c1c4f63e588f7b559053bb6df6610e
1 file changed +2 -9
contrib/debian/rules
+2 -9
@@ -23,21 +23,14 @@ HAVE_EBPF = 1
23 endif
24
25 %:
26 - # For jessie and beyond
27 - #
28 - dh $@ --with autoreconf,systemd
29 -
30 - # For wheezy or other non-systemd distributions use the following. You
31 - # should also see contrib/README.md which gives details of updates to
32 - # make to debian/control.
33 - #
34 - #dh $@ --with autoreconf
26 + dh $@
27
28 override_dh_installinit:
29 echo "SystemD Version: $(SYSTEMD_VERSION)"
30 echo "Using SystemD Unit: $(SYSTEMD_UNIT)"
31 cp -v $(SYSTEMD_UNIT) debian/netdata.service
32
33 + dh_systemd_enable
34 dh_installinit
35
36 override_dh_auto_configure: