summaryrefslogtreecommitdiff
path: root/packages/asterisk/asterisk-1.6.0-beta6/logrotate
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2008-03-29 01:40:56 +0000
committerMichael Lauer <mickey@vanille-media.de>2008-03-29 01:40:56 +0000
commit7d9e53a4342fb5a025bdaacecbc6457bdba1c6cc (patch)
tree4bd498b1ab889cd440a05ad15fea142816a9048a /packages/asterisk/asterisk-1.6.0-beta6/logrotate
parentf2247f41086d450c8784b801cc32f9cb1bea86cf (diff)
parent36d9259bca1df5c4e7874679e5cb75cf905f0109 (diff)
merge of '7a4fc7be8df3eb6974944effcdca5a2bee336a9b'
and 'd898916e8774cb2230ab7c226d0806ca2ec81f7f'
Diffstat (limited to 'packages/asterisk/asterisk-1.6.0-beta6/logrotate')
-rw-r--r--packages/asterisk/asterisk-1.6.0-beta6/logrotate12
1 files changed, 12 insertions, 0 deletions
diff --git a/packages/asterisk/asterisk-1.6.0-beta6/logrotate b/packages/asterisk/asterisk-1.6.0-beta6/logrotate
new file mode 100644
index 0000000000..dfd25ee55c
--- /dev/null
+++ b/packages/asterisk/asterisk-1.6.0-beta6/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
+}
+