aboutsummaryrefslogtreecommitdiff
path: root/network/asterisk/logrotate.asterisk
blob: f2281a71bc3d48c9f5f6646c82e94d3db27d215e (plain)
1
2
3
4
5
6
7
8
/var/log/asterisk/messages /var/log/asterisk/*log {
   missingok
   rotate 5
   weekly
   postrotate
       /usr/sbin/asterisk -rx 'logger reload' > /dev/null 2> /dev/null
   endscript
}