Commit 8d89cca0 authored by Marc Fournier's avatar Marc Fournier
Browse files

systemd service file: check for config file presence.

Thanks to @bzed for reporting this issue !
parent 1dad48e6
......@@ -11,6 +11,8 @@ collectd (5.5.0-3) UNRELEASED; urgency=medium
* debian/rules, debian/collectd-core.collectd.service:
- Rename systemd service file to collectd-core.collectd.service, to honour
debhelper's naming convention.
* debian/collectd-core.collectd.service:
- Check for configuration file presence before starting the daemon.
-- Marc Fournier <marc.fournier@camptocamp.com> Tue, 25 Aug 2015 06:55:52 +0200
......
......@@ -2,6 +2,7 @@
Description=Statistics collection and monitoring daemon
After=local-fs.target network.target
Requires=local-fs.target network.target
ConditionPathExists=/etc/collectd/collectd.conf
Documentation=man:collectd(1)
Documentation=man:collectd.conf(5)
Documentation=https://collectd.org
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment