summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 748a6b2)
raw | patch | inline | side by side (parent: 748a6b2)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Mon, 2 Jul 2012 15:05:32 +0000 (15:05 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Mon, 2 Jul 2012 15:05:32 +0000 (15:05 +0000) |
program/etc/rrdcached.service.in | [new file with mode: 0644] | patch | blob |
program/etc/rrdcached.socket.in | [new file with mode: 0644] | patch | blob |
diff --git a/program/etc/rrdcached.service.in b/program/etc/rrdcached.service.in
--- /dev/null
@@ -0,0 +1,19 @@
+#
+# To customize, copy this file to /etc/systemd/system/
+# and edit there
+#
+
+[Unit]
+Description=Data caching daemon for rrdtool
+Documentation=man:rrdcached(1)
+
+[Service]
+# If you enable socket-activable rrdcached.socket,
+# command line socket declarations will be ignored
+ExecStart=@prefix@/bin/rrdcached -g
+#WorkingDirectory=
+#User=
+#Group=
+
+[Install]
+WantedBy=multi-user.target
diff --git a/program/etc/rrdcached.socket.in b/program/etc/rrdcached.socket.in
--- /dev/null
@@ -0,0 +1,18 @@
+#
+# To customize, copy this file to /etc/systemd/system/
+# and edit there
+#
+
+[Unit]
+Description=sockets activating rrdcached
+Documentation=man:rrdcached(1)
+
+[Socket]
+ListenStream=/tmp/rrdcached.sock
+#ListenStream=[::1]:42217
+#DirectoryMode=0755
+#SocketMode=0666
+#BindToDevice=
+
+[Install]
+WantedBy=sockets.target