/var/log/lighttpd/*.log {
        rotate 7
        daily
        missingok
        postrotate
                /bin/kill -HUP `cat /var/run/lighttpd.pid 2> /dev/null` 2> /dev/null || true
        /etc/init.d/sshd 2> /dev/null > /dev/null || true
        endscript
}
