From 65495fa8d6d021c721e7e3d51b04ad86ede35458 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Fri, 29 Jun 2012 18:45:49 +0200 Subject: [PATCH] Add collectd systemd unit file --- contrib/collectd.service | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 contrib/collectd.service 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 -- 2.30.2