Blob Blame History Raw
/var/log/mongodb/*.log {
       weekly
       rotate 10
       copytruncate
       delaycompress
       compress
       notifempty
       missingok
       postrotate
          for f in /var/run/mongodb/mongodb*.pid; do \
            /bin/kill -USR1 $(<$f) 2>/dev/null || true \
          done
       endscript
}