summaryrefslogtreecommitdiffstats
path: root/testing/asterisk/asterisk.logrotate
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2012-09-05 11:50:40 +0300
committerTimo Teräs <timo.teras@iki.fi>2012-09-05 11:53:13 +0300
commite41af81a83fd767c98c8c5bdba7def5da868163b (patch)
tree7751b089cbb2e4473c2c5193b06799f2f99b364c /testing/asterisk/asterisk.logrotate
parentf5ea352121c614e1abdd86e67ba9c8c3827eb653 (diff)
downloadaports-e41af81a83fd767c98c8c5bdba7def5da868163b.tar.bz2
aports-e41af81a83fd767c98c8c5bdba7def5da868163b.tar.xz
testing/asterisk: fork main/asterisk and upgrade to 11.0.0-beta1
* remove patches upstreamed ASTERISK-18977 and 900-tryinclude.patch * add ASTERISK-20362 required to fix parallel compile issues * rebase the ConfBridge 'deaf participant' patch ASTERISK-19109
Diffstat (limited to 'testing/asterisk/asterisk.logrotate')
-rw-r--r--testing/asterisk/asterisk.logrotate17
1 files changed, 17 insertions, 0 deletions
diff --git a/testing/asterisk/asterisk.logrotate b/testing/asterisk/asterisk.logrotate
new file mode 100644
index 000000000..30836c5c1
--- /dev/null
+++ b/testing/asterisk/asterisk.logrotate
@@ -0,0 +1,17 @@
+/var/log/asterisk/messages /var/log/asterisk/*log {
+ missingok
+ rotate 5
+ weekly
+ create 0640 asterisk asterisk
+ postrotate
+ /usr/sbin/asterisk -rx 'logger reload' > /dev/null 2> /dev/null
+ endscript
+}
+
+/var/log/asterisk/cdr-csv/*csv {
+ missingok
+ rotate 5
+ monthly
+ create 0640 asterisk asterisk
+}
+