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