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..30540645a
--- /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/bin/collectdmon
+ExecReload=/bin/kill -HUP $MAINPID
+Restart=always
+
+[Install]
+WantedBy=multi-user.target