/var/log/thttpd/thttpd.log {
    missingok
    notifempty
    compress
    postrotate
	# only restart if thttpd is really running
	if test -n "`ps acx|grep thttpd`"; then
		/sbin/service thttpd restart
	fi
    endscript
}
