upstream/openstack/rabbitmq-server-config/files/rabbitmq-server.logrotate
zhipengl 75b332539d Refactor patches for rabbitmq-server package
Use rabbitmq-server-config package to package config files for
rabbitmq-server package. We can remove related patches of it.
Install custom ocf script and let SM call this one instead of
default one.

Deployment test and ping test between VMs pass
Config files check pass.

Story: 2003768
Task: 28042
Depends-on: https://review.openstack.org/#/c/621510

Change-Id: I64281b5601b7e457c724747f81e58cc1e42936dd
Signed-off-by: zhipengl <zhipengs.liu@intel.com>
2018-12-21 01:22:31 +00:00

14 lines
291 B
Plaintext

/var/log/rabbitmq/*.log {
weekly
missingok
rotate 20
compress
delaycompress
notifempty
sharedscripts
postrotate
pgrep beam.smp >/dev/null && /usr/sbin/rabbitmqctl -q rotate_logs
true
endscript
}