From: oetiker Date: Mon, 2 Jul 2012 15:05:32 +0000 (+0000) Subject: serviced config etc files for rrdtool X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=45fdf99cbd645b2b9731f6186a8713f093ab1946;p=rrdtool.git serviced config etc files for rrdtool git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@2292 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/etc/rrdcached.service.in b/etc/rrdcached.service.in new file mode 100644 index 0000000..3b6f309 --- /dev/null +++ b/etc/rrdcached.service.in @@ -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/etc/rrdcached.socket.in b/etc/rrdcached.socket.in new file mode 100644 index 0000000..7a2d63e --- /dev/null +++ b/etc/rrdcached.socket.in @@ -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