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