/var/log/statbox/*.log
{
  rotate 10
  compress
  missingok
  notifempty
  daily
  maxsize 300M
  sharedscripts
  prerotate
    ( test -x /etc/init.d/statbox-push-client && /etc/init.d/statbox-push-client stop >/dev/null ) || true
  endscript
  postrotate
    ( test -x /etc/init.d/statbox-push-client && /etc/init.d/statbox-push-client start >/dev/null ) || true
  endscript
}
