diff options
Diffstat (limited to 'packages/openpbx/files/logrotate')
-rw-r--r-- | packages/openpbx/files/logrotate | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/packages/openpbx/files/logrotate b/packages/openpbx/files/logrotate new file mode 100644 index 0000000000..a0192538a3 --- /dev/null +++ b/packages/openpbx/files/logrotate @@ -0,0 +1,13 @@ +/var/log/openpbx.org/cdr-csv/Master.csv /var/log/openpbx.org/queue_log /var/log/openpbx.org/event_log /var/log/openpbx.org/messages +/var/log/openpbx.org/full { + daily + missingok + compress + delaycompress + rotate 30 + sharedscripts + postrotate + /etc/init.d/openpbx logger-reload + endscript +} + |