summaryrefslogtreecommitdiff
path: root/packages/openpbx/files/logrotate
diff options
context:
space:
mode:
authorRolf Leggewie <oe-devel@rolf.leggewie.biz>2007-03-21 23:22:30 +0000
committerRolf Leggewie <oe-devel@rolf.leggewie.biz>2007-03-21 23:22:30 +0000
commitaae9de2a89a3b6464ba893df30e711b574aa1467 (patch)
tree1097aac5849b0d58bf0b8c290d7cfba421d92bcf /packages/openpbx/files/logrotate
parenta0c00ff8342e3b41f3feb60b3710665ea7879546 (diff)
parentdf30e95c8af93e2fafac7cc7bca7ef0f4c27e035 (diff)
merge of '6c7f9afdafc67f5e5a8263301ca0cfce430be173'
and '8ee01e7aef977a6c51cf71b7d11f65f42e0dc413'
Diffstat (limited to 'packages/openpbx/files/logrotate')
-rw-r--r--packages/openpbx/files/logrotate13
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
+}
+