/var/log/unit.log {
    daily
    missingok
    rotate 7
    compress
    delaycompress
    nocreate
    notifempty
    su root root
    postrotate
        if [ -f /var/run/unit.pid ]; then
            /bin/kill -SIGUSR1 `cat /var/run/unit.pid`
        fi
    endscript
}
