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