1 2 3 4 5 6 7 8 9 10
/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 }