2012-01-26 16:50:48 +01:00
|
|
|
/var/log/rabbitmq/*.log {
|
|
|
|
weekly
|
|
|
|
missingok
|
|
|
|
rotate 20
|
|
|
|
compress
|
|
|
|
delaycompress
|
|
|
|
notifempty
|
|
|
|
sharedscripts
|
|
|
|
postrotate
|
2017-12-14 00:20:46 +01:00
|
|
|
/usr/sbin/rabbitmqctl rotate_logs > /dev/null
|
2012-01-26 16:50:48 +01:00
|
|
|
endscript
|
2013-05-27 19:13:04 +02:00
|
|
|
su rabbitmq rabbitmq
|
2012-01-26 16:50:48 +01:00
|
|
|
}
|