Code

systemd service file: check for config file presence.
[pkg-collectd.git] / debian / collectd-core.collectd.service
index 2fee302f0e5b16cc1af1bc33166d9129a5e8e16d..7f6f6b37d3a05fbb1f165c05db424d52aa20e57d 100644 (file)
@@ -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