Debian Codegraph @

ansible_collections/community/mongodb/roles/mongodb_mongod/templates/mongodb.logrotate.j2

raw
1 {{ log_path }} {
2 daily
3 size 100M
4 rotate 5
5 missingok
6 compress
7 delaycompress
8 notifempty
9 create 640 {{ mongodb_user }} {{ mongodb_group }}
10 sharedscripts
11 postrotate
12 /bin/kill -SIGUSR1 `pidof {{ mongod_service }} 2>/dev/null` >/dev/null 2>&1
13 endscript
14 }