File queuegraph-locations.patch of Package queuegraph

Index: queuegraph/queuegraph-rrd.sh
===================================================================
--- queuegraph.orig/queuegraph-rrd.sh
+++ queuegraph/queuegraph-rrd.sh
@@ -12,10 +12,10 @@
 #            find rrdtool using "which"
 
 # change this to the location of rrdtool
-RRDTOOL=`which rrdtool`
+RRDTOOL=/usr/bin/rrdtool
 
 # change this to the location you want to store the rrd
-RRDFILE=/etc/postfix/mailqueues.rrd
+RRDFILE=/var/lib/queuegraph/mailqueues.rrd
 
 if test ! -x $RRDTOOL ; then
 	echo "ERROR: $RRDTOOL does not exist or is not executable"
Index: queuegraph/queuegraph.cgi
===================================================================
--- queuegraph.orig/queuegraph.cgi
+++ queuegraph/queuegraph.cgi
@@ -16,8 +16,8 @@ my $xpoints = 800;
 my $points_per_sample = 3;
 my $ypoints = 160;
 my $ypoints_err = 80;
-my $rrd = '/etc/postfix/mailqueues.rrd'; # path to where the RRD database is
-my $tmp_dir = '/tmp'; # temporary directory where to store the images
+my $rrd = '/var/lib/queuegraph/mailqueues.rrd'; # path to where the RRD database is
+my $tmp_dir = '/var/lib/queuegraph/img'; # temporary directory where to store the images
 my $rrdtool_1_0 = ($RRDs::VERSION < 1.199908);
 
 my @graphs = (