From: Michael Stapelberg Date: Fri, 29 Jun 2012 16:45:49 +0000 (+0200) Subject: Add collectd systemd unit file X-Git-Tag: collectd-5.2.0~87^2~1 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=65495fa8d6d021c721e7e3d51b04ad86ede35458;p=collectd.git Add collectd systemd unit file --- diff --git a/contrib/collectd.service b/contrib/collectd.service new file mode 100644 index 00000000..ee4d596d --- /dev/null +++ b/contrib/collectd.service @@ -0,0 +1,15 @@ +[Unit] +Description=statistics collection daemon +Documentation=man:collectd(1) +After=local-fs.target network.target +Requires=local-fs.target network.target + +[Service] +ExecStart=/usr/sbin/collectd -C /etc/collectd/collectd.conf -f +Restart=always +RestartSec=10 +StandardOutput=syslog +StandardError=syslog + +[Install] +WantedBy=multi-user.target