Commit fd43093e authored by Marc Fournier's avatar Marc Fournier
Browse files

systemd service file: make sure `collectd -t` succeeds

parent 8d89cca0
......@@ -13,6 +13,7 @@ collectd (5.5.0-3) UNRELEASED; urgency=medium
debhelper's naming convention.
* debian/collectd-core.collectd.service:
- Check for configuration file presence before starting the daemon.
- Check for configuration file validity before starting the daemon.
-- Marc Fournier <marc.fournier@camptocamp.com> Tue, 25 Aug 2015 06:55:52 +0200
......
......@@ -11,6 +11,7 @@ Documentation=https://collectd.org
Type=notify
NotifyAccess=main
EnvironmentFile=-/etc/default/collectd
ExecStartPre=/usr/sbin/collectd -t
ExecStart=/usr/sbin/collectd
Restart=always
RestartSec=10
......
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