summaryrefslogtreecommitdiff
path: root/social/asterisk/asterisk.logrotated
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-10-23 23:14:59 +0000
committerroot <root@rshg054.dnsready.net>2011-10-23 23:14:59 +0000
commitc0bc46632845dfc241d3290d8d3193287eaeb02e (patch)
tree15e467e4985d599a312014b62fd555cbc4cdffc7 /social/asterisk/asterisk.logrotated
parent789905b5e6b809a564832ba85b842988405e7375 (diff)
Sun Oct 23 23:14:58 UTC 2011
Diffstat (limited to 'social/asterisk/asterisk.logrotated')
-rw-r--r--social/asterisk/asterisk.logrotated10
1 files changed, 10 insertions, 0 deletions
diff --git a/social/asterisk/asterisk.logrotated b/social/asterisk/asterisk.logrotated
new file mode 100644
index 000000000..f03d0acd3
--- /dev/null
+++ b/social/asterisk/asterisk.logrotated
@@ -0,0 +1,10 @@
+/var/log/asterisk/*_log /var/log/asterisk/messages {
+ create 640 asterisk asterisk
+ compress
+ missingok
+ notifempty
+ postrotate
+ /usr/sbin/asterisk -rx "logger reload" 1>/dev/null || true
+ endscript
+}
+