From: Sebastian Harl Date: Wed, 30 Sep 2009 19:06:55 +0000 (+0200) Subject: rrdcached.{default,init.d}: Set the default command line options. X-Git-Tag: experimental/1.4--rc2+20091004~20 X-Git-Url: https://git.tokkee.org/?p=pkg-rrdtool.git;a=commitdiff_plain;h=9a0ca958e37301618a2a1fe292499114c2adc608;hp=951e4c4ca26831f02e7ce145d662773482c8b192 rrdcached.{default,init.d}: Set the default command line options. Using '-l unix:/var/run/rrdcached.sock -F' for now. --- 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