From 3aa9164462171856cf711c9f7f1456eee34e6123 Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Sat, 30 Jun 2012 12:39:15 +0200 Subject: [PATCH] collectd-core.collectd.init.d: Source /lib/lsb/init-functions. This will make systemd work in compatibility mode. Thanks to Michael Stapelberg for reporting this. Closes: #679544 --- debian/changelog | 4 ++++ debian/collectd-core.collectd.init.d | 2 ++ 2 files changed, 6 insertions(+) diff --git a/debian/changelog b/debian/changelog index e096901..034d54d 100644 --- a/debian/changelog +++ b/debian/changelog @@ -27,6 +27,10 @@ collectd (5.1.0-2) UNRELEASED; urgency=low (Closes: #678614). - Updated Spanish debconf translation; thanks to Omar Campagne (Closes: #679281). + * debian/collectd-core.collectd.init.d: + - Source /lib/lsb/init-functions in order to make systemd work in + compatibility mode; thanks to Michael Stapelberg for reporting this + (Closes: #679544). -- Sebastian Harl Fri, 29 Jun 2012 22:17:27 +0200 diff --git a/debian/collectd-core.collectd.init.d b/debian/collectd-core.collectd.init.d index a5e8887..7039981 100755 --- a/debian/collectd-core.collectd.init.d +++ b/debian/collectd-core.collectd.init.d @@ -24,6 +24,8 @@ set -e +. /lib/lsb/init-functions + export PATH=/sbin:/bin:/usr/sbin:/usr/bin DISABLE=0 -- 2.30.2