1 /data/www/*/logs/*/*.log {
6 # Compress files after rotation
8 # But only a day after actually rotating them for the first
9 # time. See http://bugs.gentoo.org/106651
12 # Use the current date as the extension for rotating
14 # lighttpd will create new files itself
16 # Call this script once after rotating all files
19 # Let lighttpd reopen its config files (HUP might be better,
20 # but we'd have to look in pidfiles etc.)
21 invoke-rc.d lighttpd reload > /dev/null;
22 # Do stats analysis on the rotated files
23 /usr/local/bin/update-stats --after-logrotate; > /dev/null;
27 # vim: set ts=8 sw=8 noexpandtab autoindent: