summaryrefslogtreecommitdiff
path: root/packages/openpbx/files/logrotate
diff options
context:
space:
mode:
authorOyvind Repvik <nail@nslu2-linux.org>2007-03-18 15:26:34 +0000
committerOyvind Repvik <nail@nslu2-linux.org>2007-03-18 15:26:34 +0000
commit30b0ecaf2330bd79e909a4c0b0c283dd9e517c7a (patch)
tree5c2955d8759d2d616106c82158a25bff1fe01be7 /packages/openpbx/files/logrotate
parent97c743943bbae2b2a30c3501283645e9c069a16a (diff)
openpbx/spandsp: Add packages openpbx and spandsp, thanks to hillctl
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
+}
+