diff options
Diffstat (limited to 'testing/asterisk/asterisk.logrotate')
-rw-r--r-- | testing/asterisk/asterisk.logrotate | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/testing/asterisk/asterisk.logrotate b/testing/asterisk/asterisk.logrotate new file mode 100644 index 0000000000..30836c5c11 --- /dev/null +++ b/testing/asterisk/asterisk.logrotate @@ -0,0 +1,17 @@ +/var/log/asterisk/messages /var/log/asterisk/*log { + missingok + rotate 5 + weekly + create 0640 asterisk asterisk + postrotate + /usr/sbin/asterisk -rx 'logger reload' > /dev/null 2> /dev/null + endscript +} + +/var/log/asterisk/cdr-csv/*csv { + missingok + rotate 5 + monthly + create 0640 asterisk asterisk +} + |