summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 96bcc11)
raw | patch | inline | side by side (parent: 96bcc11)
author | Michael Stapelberg <michael@stapelberg.de> | |
Fri, 29 Jun 2012 16:45:49 +0000 (18:45 +0200) | ||
committer | Michael Stapelberg <michael@stapelberg.de> | |
Fri, 29 Jun 2012 16:45:49 +0000 (18:45 +0200) |
contrib/collectd.service | [new file with mode: 0644] | patch | blob |
diff --git a/contrib/collectd.service b/contrib/collectd.service
--- /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