Index: modules/statsmaster/templates/process_logs_head.erb |
diff --git a/modules/statsmaster/templates/process_logs_head.erb b/modules/statsmaster/templates/process_logs_head.erb |
deleted file mode 100644 |
index cfd9b6c2ede07bc023a01e6188a0d0c2ea4f3b18..0000000000000000000000000000000000000000 |
--- a/modules/statsmaster/templates/process_logs_head.erb |
+++ /dev/null |
@@ -1,17 +0,0 @@ |
-#!/usr/bin/env python |
- |
-import subprocess |
- |
-def process_logs(site, databasebreak): |
- datadir = { |
- 'month': '/var/www/awstatsdata', |
- 'day': '/var/www/awstatsdatadaily', |
- }[databasebreak] |
- |
- subprocess.check_output([ |
- '/usr/lib/cgi-bin/awstats.pl', |
- '-configdir=/var/www/awstatsconf', |
- '-config=%s' % site, |
- '-databasebreak=%s' % databasebreak, |
- '-update' |
- ], env={'AWSTATSDATA': datadir}) |