summaryrefslogtreecommitdiff
path: root/community/collectd/service
diff options
context:
space:
mode:
Diffstat (limited to 'community/collectd/service')
-rw-r--r--community/collectd/service13
1 files changed, 13 insertions, 0 deletions
diff --git a/community/collectd/service b/community/collectd/service
new file mode 100644
index 000000000..9581ec0c9
--- /dev/null
+++ b/community/collectd/service
@@ -0,0 +1,13 @@
+[Unit]
+Description=System statistics collection daemon
+After=local-fs.target network.target
+
+[Service]
+Type=forking
+PIDFile=/run/collectdmon.pid
+ExecStart=/usr/sbin/collectdmon
+ExecReload=/bin/kill -HUP $MAINPID
+Restart=always
+
+[Install]
+WantedBy=multi-user.target