From: Sebastian Harl Date: Sun, 4 Oct 2009 14:06:39 +0000 (+0200) Subject: rrdcached.init.d: Added journal and base directory to the default OPTS. X-Git-Tag: experimental/1.4--rc2+20091004~11 X-Git-Url: https://git.tokkee.org/?p=pkg-rrdtool.git;a=commitdiff_plain;h=f6dc4d472167568f41daf22a0ba57124c3f7a0d8 rrdcached.init.d: Added journal and base directory to the default OPTS. --- diff --git a/debian/rrdcached.default b/debian/rrdcached.default index 2d61f8a..c4b7f09 100644 --- a/debian/rrdcached.default +++ b/debian/rrdcached.default @@ -6,8 +6,8 @@ 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" +# default: see /etc/init.d/rrdcached +#OPTS="" # number of seconds to wait for rrdcached to shut down # (writing the data to disk may take some time; diff --git a/debian/rrdcached.init.d b/debian/rrdcached.init.d index 7c9e5d0..1c22384 100755 --- a/debian/rrdcached.init.d +++ b/debian/rrdcached.init.d @@ -29,7 +29,10 @@ DISABLE=0 DESC="RRDtool data caching daemon" NAME=rrdcached DAEMON=/usr/bin/rrdcached -OPTS="-l unix:/var/run/rrdcached.sock -F" + +OPTS="-l unix:/var/run/rrdcached.sock" +OPTS="$OPTS -j /var/lib/rrdcached/journal.d/ -F" +OPTS="$OPTS -b /var/lib/rrdcached/db/ -B" PIDFILE=/var/run/rrdcached.pid