1 |
slords |
1.1 |
diff -Nur -x '*.orig' -x '*.rej' smeserver-freepbx-0.1/root/etc/logrotate.d/asterisk mezzanine_patched_smeserver-freepbx-0.1/root/etc/logrotate.d/asterisk |
2 |
|
|
--- smeserver-freepbx-0.1/root/etc/logrotate.d/asterisk 1970-01-01 01:00:00.000000000 +0100 |
3 |
|
|
+++ mezzanine_patched_smeserver-freepbx-0.1/root/etc/logrotate.d/asterisk 2008-11-19 05:22:08.000000000 +0100 |
4 |
|
|
@@ -0,0 +1,26 @@ |
5 |
|
|
+/var/log/asterisk/messages /var/log/asterisk/*log /var/log/asterisk/debug /var/log/asterisk/console /var/log/asterisk/full /var/log/asterisk/warnings { |
6 |
|
|
+ create 0640 asterisk asterisk |
7 |
|
|
+ daily |
8 |
|
|
+ extension .txt |
9 |
|
|
+ missingok |
10 |
|
|
+ rotate 8 |
11 |
|
|
+ compress |
12 |
|
|
+ sharedscripts |
13 |
|
|
+ postrotate |
14 |
|
|
+ /usr/sbin/asterisk -rx 'logger reload' >/dev/null 2>/dev/null || true |
15 |
|
|
+ endscript |
16 |
|
|
+} |
17 |
|
|
+ |
18 |
|
|
+/var/log/asterisk/cdr-csv/*csv /var/log/asterisk/cdr-custom/*csv { |
19 |
|
|
+ create 0640 asterisk asterisk |
20 |
|
|
+ monthly |
21 |
|
|
+ extension .txt |
22 |
|
|
+ missingok |
23 |
|
|
+ compress |
24 |
|
|
+ rotate 2 |
25 |
|
|
+ sharedscripts |
26 |
|
|
+ postrotate |
27 |
|
|
+ /usr/sbin/asterisk -rx 'logger reload' >/dev/null 2>/dev/null || true |
28 |
|
|
+ endscript |
29 |
|
|
+} |
30 |
|
|
+ |