]> git.pld-linux.org Git - packages/calamaris.git/commitdiff
- update so this somehow works now AC-branch auto/ac/calamaris-2_99_4_0-2
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Wed, 17 Dec 2008 07:40:19 +0000 (07:40 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    calamaris-croniface -> 1.13
    calamaris.sysconfig -> 1.11

calamaris-croniface
calamaris.sysconfig

index 6a0444917329acaaa66670468af55571a5566d89..249019c2664cd036ab48b13ca2748aa31b4e285f 100644 (file)
@@ -39,7 +39,8 @@ CALAMARIS_ARGS="-a"
 [ -f /etc/sysconfig/calamaris ] && . /etc/sysconfig/calamaris
 
 # Parameter passed to Calamaris.
-ARG_HTML="$CALAMARIS_ARGS -F html -l $HTML_LOGO"
+# XXX: passing -l HTML_LOGO breaks here due
+ARG_HTML="$CALAMARIS_ARGS -F html"
 ARG_MAIL="$CALAMARIS_ARGS -a -m Calamaris report"
 MAIL_SUBJ="Calamaris Report"
 
index f8415aa5213d936c75925fd1884e96fd220ed169..ad5d1745a12695da32df0cebe401d2d6593654e0 100644 (file)
@@ -52,7 +52,8 @@ OUTPUT_DIR="/home/services/httpd/html/cache_log"
 # Logs to parse in order to create daily stats. Because of assumption that
 # this script is run *after* logrotate, log file is already gzipped. There
 # is no default. You have to put something here.
-DAILY_FILES="/var/log/archive/squid/access.log.1.gz"
+# DAILY_FILES="/var/log/archive/squid/access.log.1.gz"
+DAILY_FILES=$(ls -1t /var/log/archive/squid/access.log-*.gz | head -n 1)
 
 # Where to save daily stats. Ignored if DAILY_ACTION doesn't contain "save".
 # There is no default. You have to put something here.
@@ -66,7 +67,8 @@ DAILY_SAVE_AS="$OUTPUT_DIR/daily.html"
 # Logs to parse in order to create weekly stats. Because of assumption that
 # this script is run *after* logrotate, all log files are already gzipped.
 # There is no default. You have to put something here.
-WEEKLY_FILES=/var/log/archive/squid/access.log.{7,6,5,4,3,2,1}*
+# WEEKLY_FILES=/var/log/archive/squid/access.log.{7,6,5,4,3,2,1}*
+WEEKLY_FILES=/var/log/archive/squid/access.log-*.gz
 
 # Where to save weekly stats. Ignored if WEEKLY_ACTION doesn't contain "save".
 # There is no default. You have to put something here.
This page took 0.062655 seconds and 4 git commands to generate.