etc-gentoo/logrotate.d/asterisk
Hans Wurst ed9a74dd0e committing changes in /etc after emerge run
Package changes:
+net-misc/asterisk-11.17.1
2015-08-23 15:27:52 +02:00

26 lines
436 B
Plaintext

/var/log/asterisk/messages /var/log/asterisk/queue_log {
missingok
notifempty
postrotate
/usr/sbin/asterisk -rnx "logger reload" || /bin/true
endscript
}
/var/log/asterisk/debug /var/log/asterisk/full {
missingok
notifempty
daily
postrotate
/usr/sbin/asterisk -rnx "logger reload" || /bin/true
endscript
}
/var/log/asterisk/cdr-csv/*.csv /var/log/asterisk/cdr-custom/*.csv {
missingok
notifempty
weekly
rotate 52
}