ansible-roles/mongodb-org/templates/logrotate.j2

16 lines
307 B
Plaintext
Raw Normal View History

2017-04-19 10:58:48 +02:00
# {{ ansible_managed }}
{{ mongodborg_logfile_path }} {
daily
missingok
rotate 365
dateext
compress
delaycompress
notifempty
sharedscripts
postrotate
kill -0 $(cat {{ mongodborg_pidfile_path }}) && kill -USR1 $(cat {{ mongodborg_pidfile_path }})
endscript
}