asterisk/contrib/scripts/asterisk.logrotate
Tilghman Lesher 70a0b7fcd1 Add logrotate script for Asterisk
(closes issue #13085)
 Reported by: pabelanger
 Patches: 
       logrotate uploaded by pabelanger (license 224)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@132977 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-23 17:14:56 +00:00

13 lines
319 B
Text

/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
}