--- /dev/null
+#
+# 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
--- /dev/null
+#
+# 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