Package: collectd-core
Version: 5.12.0-13
Severity: serious
Tags: patch

Hi BZ and friends,

Looks like a change in dh_installinit / dh_installsystemd made the package
loose its systemd service / init.d script.

The attached patch fixes the situation. If you have no time to build and
upload, just shoot me a mail and I'll push the fix to unstable (and to the
git since it's in the debian namespace).

Cheers,

Thomas Goirand (zigo)
diff -Nru collectd-5.12.0/debian/changelog collectd-5.12.0/debian/changelog
--- collectd-5.12.0/debian/changelog    2023-01-27 09:08:10.000000000 +0100
+++ collectd-5.12.0/debian/changelog    2023-02-20 10:05:23.000000000 +0100
@@ -1,3 +1,9 @@
+collectd (5.12.0-13.1) unstable; urgency=medium
+
+  * Fix installing systemd service and init script.
+
+ -- Thomas Goirand <z...@debian.org>  Mon, 20 Feb 2023 10:05:23 +0100
+
 collectd (5.12.0-13) unstable; urgency=medium
 
   * [694f2c9] Revert "Disable nut plugin again."
diff -Nru collectd-5.12.0/debian/rules collectd-5.12.0/debian/rules
--- collectd-5.12.0/debian/rules        2023-01-27 09:08:10.000000000 +0100
+++ collectd-5.12.0/debian/rules        2023-02-20 10:05:19.000000000 +0100
@@ -340,3 +340,8 @@
                | sed -e 's/shlibs:Suggests/shlibs:Recommends/' \
                >> debian/collectd.substvars
 
+override_dh_installsystemd:
+       dh_installsystemd -pcollectd-core --name=collectd
+
+override_dh_installinit:
+       dh_installinit -pcollectd-core --name=collectd

Reply via email to