tags 451368 patch
thanks

Here's my suggested patch. It moves the 31 day default into the config
file.

-- 
Tim Retout <[EMAIL PROTECTED]>
diff -u srg-1.3.4/debian/srg.cron.daily srg-1.3.4/debian/srg.cron.daily
--- srg-1.3.4/debian/srg.cron.daily
+++ srg-1.3.4/debian/srg.cron.daily
@@ -50,5 +50,5 @@
 if [ -z $MAILUSER ]; then
-    $SRG -C $CONFIGFILE -m 31 -f $YESTERDAY -t $YESTERDAY $LOGS
+    $SRG -C $CONFIGFILE -f $YESTERDAY -t $YESTERDAY $LOGS
 else
-    $SRG -M -C $CONFIGFILE -m 31 -f $YESTERDAY -t $YESTERDAY $LOGS | $MAIL_UTIL -s 'Squid Traffic Report' $MAILUSER
+    $SRG -M -C $CONFIGFILE -f $YESTERDAY -t $YESTERDAY $LOGS | $MAIL_UTIL -s 'Squid Traffic Report' $MAILUSER
 fi
diff -u srg-1.3.4/debian/srg.conf srg-1.3.4/debian/srg.conf
--- srg-1.3.4/debian/srg.conf
+++ srg-1.3.4/debian/srg.conf
@@ -53,6 +53,7 @@
 # Maximum age (in days) of a report. Reports older than this will be removed.
 #	Default is 0, i.e. disabled
 # e.g. max_age 30
+max_age 31
 
 
 #### Filter rules ####

Reply via email to