Dirk Mueller
2a7edb84d6
modified logrotate to use rabbitmqctl to force the creation of the log file after logrotation OBS-URL: https://build.opensuse.org/request/show/556701 OBS-URL: https://build.opensuse.org/package/show/network:messaging:amqp/rabbitmq-server?expand=0&rev=85
14 lines
285 B
Plaintext
14 lines
285 B
Plaintext
/var/log/rabbitmq/*.log {
|
|
weekly
|
|
missingok
|
|
rotate 20
|
|
compress
|
|
delaycompress
|
|
notifempty
|
|
sharedscripts
|
|
postrotate
|
|
/usr/sbin/rabbitmqctl rotate_logs > /dev/null
|
|
endscript
|
|
su rabbitmq rabbitmq
|
|
}
|