From b4be61c4986519b2cb899da69b8e915c5521b969 Mon Sep 17 00:00:00 2001
From: Paul Wise <pabs@debian.org>
Date: Sun, 20 Feb 2011 14:25:04 +0800
Subject: [PATCH] Write the RRD files to webdir/stat and enable graph
 rendering.

---
 config/backports/cron.hourly | 4 ++--
 config/debian/cron.hourly    | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/config/backports/cron.hourly b/config/backports/cron.hourly
index 12e06fc0..e8116d18 100755
--- a/config/backports/cron.hourly
+++ b/config/backports/cron.hourly
@@ -10,9 +10,9 @@ export SCRIPTVARS=/srv/backports-master.debian.org/dak/config/backports/vars
 
 dak import-users-from-passwd
 dak queue-report -n > $webdir/new.html
-dak queue-report -8 -d new,byhand,proposedupdates,oldproposedupdates -r $webdir
+dak queue-report -8 -d new,byhand,proposedupdates,oldproposedupdates -r $webdir/stat
 #dak show-deferred > ${webdir}/deferred.html
-dak graph -n new,byhand,proposedupdates,oldproposedupdates -r $webdir -i $webdir -x $scriptsdir/rrd-release-freeze-dates
+dak graph -n new,byhand,proposedupdates,oldproposedupdates -r $webdir/stat -i $webdir/stat -x $scriptsdir/rrd-release-freeze-dates
 dak show-new > /dev/null
 
 # cd $webdir
diff --git a/config/debian/cron.hourly b/config/debian/cron.hourly
index 9e11872c..b87ea0e2 100755
--- a/config/debian/cron.hourly
+++ b/config/debian/cron.hourly
@@ -10,9 +10,9 @@ export SCRIPTVARS=/srv/ftp-master.debian.org/dak/config/debian/vars
 
 dak import-users-from-passwd
 dak queue-report -n > $webdir/new.html
-dak queue-report -8 -d new,byhand,proposedupdates,oldproposedupdates -r $webdir
+dak queue-report -8 -d new,byhand,proposedupdates,oldproposedupdates -r $webdir/stat
 dak show-deferred > ${webdir}/deferred.html
-#dak graph -n new,byhand,proposedupdates,oldproposedupdates,deferred -r $webdir/stat -i $webdir/stat -x $scriptsdir/rrd-release-freeze-dates
+dak graph -n new,byhand,proposedupdates,oldproposedupdates,deferred -r $webdir/stat -i $webdir/stat -x $scriptsdir/rrd-release-freeze-dates
 
 # do not run show-new and other stuff in parallel
 LOCKFILE="$lockdir/unchecked.lock"
-- 
2.39.5