/var/log/thttpd.log {
    rotate 14
    daily
    compress
    missingok
    delaycompress
    postrotate
        if [ -f /var/run/thttpd.pid ]; then
 	    /etc/init.d/thttpd restart 2>&1 > /dev/null
	fi
    endscript
}

