summaryrefslogtreecommitdiff
path: root/packages/asterisk/asterisk-1.6.0-beta6/logrotate
diff options
context:
space:
mode:
authorRod Whitby <rod@whitby.id.au>2008-03-29 03:00:12 +0000
committerRod Whitby <rod@whitby.id.au>2008-03-29 03:00:12 +0000
commitd3305bd33e0e4ebe3907018393ddf1176a3369d6 (patch)
tree9f04c0be14ffff90eecd4d14dff9f976dcddcc6e /packages/asterisk/asterisk-1.6.0-beta6/logrotate
parent610d30a507a71fd8b3fd1b4f01bc146d3f8fd143 (diff)
parent7d9e53a4342fb5a025bdaacecbc6457bdba1c6cc (diff)
merge of '641cb531f5b8a986da7de7e34632a36c15b6c3ca'
and 'd3bc42a7b3cb02bf7be09e8aae8fd99960be84b7'
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
+}
+