/var/log/varnish/*.log {
    daily
    maxage 7
    missingok
    notifempty
    sharedscripts
    su root root
    postrotate
        /usr/bin/systemctl restart varnishlog
    endscript
}

