[asterisk-commits] tilghman: trunk r132977 - /trunk/contrib/scripts/asterisk.logrotate
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Jul 23 12:14:56 CDT 2008
Author: tilghman
Date: Wed Jul 23 12:14:56 2008
New Revision: 132977
URL: http://svn.digium.com/view/asterisk?view=rev&rev=132977
Log:
Add logrotate script for Asterisk
(closes issue #13085)
Reported by: pabelanger
Patches:
logrotate uploaded by pabelanger (license 224)
Added:
trunk/contrib/scripts/asterisk.logrotate (with props)
Added: trunk/contrib/scripts/asterisk.logrotate
URL: http://svn.digium.com/view/asterisk/trunk/contrib/scripts/asterisk.logrotate?view=auto&rev=132977
==============================================================================
--- trunk/contrib/scripts/asterisk.logrotate (added)
+++ trunk/contrib/scripts/asterisk.logrotate Wed Jul 23 12:14:56 2008
@@ -1,0 +1,13 @@
+/var/log/asterisk/debug /var/log/asterisk/console /var/log/asterisk/full /var/log/asterisk/debug /var/log/asterisk/*log {
+ weekly
+ missingok
+ rotate 52
+ compress
+ delaycompress
+ notifempty
+ create 640 root root
+ sharedscripts
+ postrotate
+ /usr/sbin/asterisk -rx 'logger reload' > /dev/null 2> /dev/null
+ endscript
+}
Propchange: trunk/contrib/scripts/asterisk.logrotate
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: trunk/contrib/scripts/asterisk.logrotate
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Propchange: trunk/contrib/scripts/asterisk.logrotate
------------------------------------------------------------------------------
svn:mime-type = text/plain
More information about the asterisk-commits
mailing list