# and now, all rewrited by Jose Carlos Medeiros <jose@psabs.com.br>
# This script just run webalizer against all .conf files in /etc/webalizer
+# Modified for use at HCoop with config and output stored in AFS
WEBALIZER=/usr/bin/webalizer
-WEBALIZER_CONFDIR=/etc/webalizer
+WEBALIZER_CONFDIR=/afs/hcoop.net/common/etc/domtool/webalizer/config
[ -x ${WEBALIZER} ] || exit 0;
[ -d ${WEBALIZER_CONFDIR} ] || exit 0;
+WEBALIZER="/usr/bin/k5start -U -K 300 -t -f /etc/keytabs/service/webalizer ${WEBALIZER}"
+
+#${WEBALIZER} -c /etc/webalizer/main.conf -Q || continue
+
for i in ${WEBALIZER_CONFDIR}/*.conf; do
# exists ?
[ -f $i ] || continue;