/var/log/unit/*.log {
    missingok
    nocreate
    notifempty
    postrotate
        if [ -f /var/run/unit/unit.pid ]; then
            /bin/kill -SIGUSR1 `cat /var/run/unit/unit.pid`
        fi
    endscript
}
