/var/log/varnish/varnish.log /var/log/varnish/varnishncsa.log {
  daily
  rotate 7
  missingok
  compress
  delaycompress
  missingok
  postrotate
    for service in varnishlog varnishncsa; do
      if /usr/bin/pgrep -P 1 $service >/dev/null; then
        /usr/sbin/invoke-rc.d $service reload > /dev/null
      fi
    done
  endscript
}
