1/var/log/unit/*.log { 2 daily 3 missingok 4 rotate 7 5 compress 6 delaycompress 7 nocreate 8 notifempty 9 postrotate 10 if [ -f /var/run/unit/unit.pid ]; then 11 /bin/kill -SIGUSR1 `cat /var/run/unit/unit.pid` 12 fi 13 endscript 14} 15