summaryrefslogtreecommitdiff
path: root/packages/asterisk/asterisk-1.4.17/logrotate
diff options
context:
space:
mode:
authorOvidiu Sas <sip.nslu@gmail.com>2008-01-13 01:17:35 +0000
committerOvidiu Sas <sip.nslu@gmail.com>2008-01-13 01:17:35 +0000
commit6244c8d371de565e60965faa19a14d48ab2e1006 (patch)
tree8f2c33c203455bb5a9d48fc83eb48ff7aa42f20f /packages/asterisk/asterisk-1.4.17/logrotate
parentaad34e853c331b32d5a74532c766877e79bdae6d (diff)
asterisk: 1.4.11 -> 1.4.17
Diffstat (limited to 'packages/asterisk/asterisk-1.4.17/logrotate')
-rw-r--r--packages/asterisk/asterisk-1.4.17/logrotate12
1 files changed, 12 insertions, 0 deletions
diff --git a/packages/asterisk/asterisk-1.4.17/logrotate b/packages/asterisk/asterisk-1.4.17/logrotate
new file mode 100644
index 0000000000..dfd25ee55c
--- /dev/null
+++ b/packages/asterisk/asterisk-1.4.17/logrotate
@@ -0,0 +1,12 @@
+/var/log/asterisk/cdr-csv/Master.csv /var/log/asterisk/cdr-custom/Master.csv /var/log/asterisk/queue_log /var/log/asterisk/event_log /var/log/asterisk/messages {
+ daily
+ missingok
+ compress
+ delaycompress
+ rotate 30
+ sharedscripts
+ postrotate
+ /etc/init.d/asterisk logger-reload
+ endscript
+}
+