X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=debian%2Fcollectd-core.collectd.service;h=e179f76c06d2040a610c3defc75e0c1e4fde3eea;hb=HEAD;hp=2fee302f0e5b16cc1af1bc33166d9129a5e8e16d;hpb=1dad48e65633b4c698be2dd622bfdd3013ffafa3;p=pkg-collectd.git diff --git a/debian/collectd-core.collectd.service b/debian/collectd-core.collectd.service index 2fee302..e179f76 100644 --- a/debian/collectd-core.collectd.service +++ b/debian/collectd-core.collectd.service @@ -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 @@ -10,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