/var/log/lighttpd/*.log {
	olddir /var/log/archive/lighttpd

	create 640 lighttpd logs

	sharedscripts
	postrotate
		/sbin/service lighttpd flush-logs > /dev/null
	endscript
}
