ansible-roles/mongodb/templates/logrotate_bullseye.j2

16 lines
240 B
Plaintext
Raw Normal View History

2021-05-01 17:51:50 +02:00
# {{ ansible_managed }}
/var/log/mongodb/mongod.log {
daily
missingok
rotate 365
dateext
compress
delaycompress
notifempty
sharedscripts
postrotate
pidof mongod | xargs kill -USR1
endscript
}