ansible-roles/mongodb/templates/logrotate_jessie.j2

16 lines
241 B
Plaintext
Raw Normal View History

2017-04-19 10:58:48 +02:00
# {{ ansible_managed }}
/var/log/mongodb/mongod.log {
2017-04-19 10:58:48 +02:00
daily
missingok
rotate 365
dateext
compress
delaycompress
notifempty
sharedscripts
postrotate
pidof mongod | xargs kill -USR1
2017-04-19 10:58:48 +02:00
endscript
}