SOURCES: calamaris.sysconfig - $OUTPUT_DIR for easy changing locat...
glen
glen at pld-linux.org
Wed Feb 7 18:00:39 CET 2007
Author: glen Date: Wed Feb 7 17:00:39 2007 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- $OUTPUT_DIR for easy changing location where to save reports
---- Files affected:
SOURCES:
calamaris.sysconfig (1.8 -> 1.9)
---- Diffs:
================================================================
Index: SOURCES/calamaris.sysconfig
diff -u SOURCES/calamaris.sysconfig:1.8 SOURCES/calamaris.sysconfig:1.9
--- SOURCES/calamaris.sysconfig:1.8 Fri Oct 29 14:43:37 2004
+++ SOURCES/calamaris.sysconfig Wed Feb 7 18:00:34 2007
@@ -46,6 +46,9 @@
# you, you don't have to set this variable.
#DAILY_ACTION="send"
+# Top directory where to save output files
+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.
@@ -53,7 +56,7 @@
# Where to save daily stats. Ignored if DAILY_ACTION doesn't contain "save".
# There is no default. You have to put something here.
-DAILY_SAVE_AS="/home/services/httpd/html/cache_log/daily.html"
+DAILY_SAVE_AS="$OUTPUT_DIR/daily.html"
# What to do with weekly statistics. Can be "save", "send" or both. If empty,
# weekly statistics aren't generated. Default is "send" and if this is OK for
@@ -67,5 +70,4 @@
# Where to save weekly stats. Ignored if WEEKLY_ACTION doesn't contain "save".
# There is no default. You have to put something here.
-WEEKLY_SAVE_AS="/home/services/httpd/html/cache_log/weekly.html"
-
+WEEKLY_SAVE_AS="$OUTPUT_DIR/weekly.html"
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/calamaris.sysconfig?r1=1.8&r2=1.9&f=u
More information about the pld-cvs-commit
mailing list