From 9a0ca958e37301618a2a1fe292499114c2adc608 Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Wed, 30 Sep 2009 21:06:55 +0200 Subject: [PATCH] rrdcached.{default,init.d}: Set the default command line options. Using '-l unix:/var/run/rrdcached.sock -F' for now. --- debian/rrdcached.default | 5 +++++ debian/rrdcached.init.d | 1 + 2 files changed, 6 insertions(+) diff --git a/debian/rrdcached.default b/debian/rrdcached.default index 257f189..2d61f8a 100644 --- a/debian/rrdcached.default +++ b/debian/rrdcached.default @@ -4,6 +4,11 @@ # default: 0 DISABLE=0 +# options to be passed to rrdcached +# (do not specify -p - this is handled by the init script) +# default: -l unix:/var/run/rrdcached.sock -F +OPTS="-l unix:/var/run/rrdcached.sock -F" + # number of seconds to wait for rrdcached to shut down # (writing the data to disk may take some time; # tune this according to your setup) diff --git a/debian/rrdcached.init.d b/debian/rrdcached.init.d index 48c629c..7c9e5d0 100755 --- a/debian/rrdcached.init.d +++ b/debian/rrdcached.init.d @@ -29,6 +29,7 @@ DISABLE=0 DESC="RRDtool data caching daemon" NAME=rrdcached DAEMON=/usr/bin/rrdcached +OPTS="-l unix:/var/run/rrdcached.sock -F" PIDFILE=/var/run/rrdcached.pid -- 2.30.2