File rabbitmq-server.logrotate of Package rabbitmq-server

/var/log/rabbitmq/*.log {
        weekly
        missingok
        rotate 20
        compress
        delaycompress
        notifempty
        sharedscripts
        postrotate
              /usr/sbin/rabbitmqctl rotate_logs > /dev/null
        endscript
        su rabbitmq rabbitmq
}