From 1dad48e65633b4c698be2dd622bfdd3013ffafa3 Mon Sep 17 00:00:00 2001 From: Marc Fournier Date: Tue, 1 Sep 2015 21:22:11 +0200 Subject: [PATCH] rename systemd service file to respect naming conventions. --- debian/changelog | 3 +++ debian/{collectd.service => collectd-core.collectd.service} | 0 debian/rules | 2 +- 3 files changed, 4 insertions(+), 1 deletion(-) rename debian/{collectd.service => collectd-core.collectd.service} (100%) diff --git a/debian/changelog b/debian/changelog index 60835f5..81cf056 100644 --- a/debian/changelog +++ b/debian/changelog @@ -8,6 +8,9 @@ collectd (5.5.0-3) UNRELEASED; urgency=medium - Strip out non-deterministic bits out of generated jar files. * debian/collectd-core.overrides: - Update 'capitalization-error-in-description' lintian override. + * debian/rules, debian/collectd-core.collectd.service: + - Rename systemd service file to collectd-core.collectd.service, to honour + debhelper's naming convention. -- Marc Fournier Tue, 25 Aug 2015 06:55:52 +0200 diff --git a/debian/collectd.service b/debian/collectd-core.collectd.service similarity index 100% rename from debian/collectd.service rename to debian/collectd-core.collectd.service diff --git a/debian/rules b/debian/rules index 3960dff..0da5b2b 100755 --- a/debian/rules +++ b/debian/rules @@ -281,7 +281,7 @@ binary-arch: build install-arch && rm -f lib/Collectd/Graph/File.pm lib/Collectd/Graph/Filter.pm \ && rm -f lib/Collectd/Graph/MetaData.pm ) dh_installdebconf -a - dh_systemd_enable -pcollectd-core --name=collectd collectd.service + dh_systemd_enable -pcollectd-core --name=collectd dh_installinit -pcollectd-core --name=collectd -- defaults 95 dh_systemd_start -pcollectd-core dh_link -a -- 2.30.2