/var/log/zebrasrv.log { weekly missingok rotate 4 compress delaycompress notifempty postrotate if [ -f /var/run/zebrasrv.pid ]; then /sbin/service zebrasrv restart > /dev/null fi endscript }