From: Sebastian Harl Date: Sat, 30 Jun 2012 10:39:15 +0000 (+0200) Subject: collectd-core.collectd.init.d: Source /lib/lsb/init-functions. X-Git-Tag: collectd-5.1.0-2~3 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=3aa9164462171856cf711c9f7f1456eee34e6123;p=pkg-collectd.git 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 --- 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