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