slackbuilds_ponce/network/asterisk/logrotate.asterisk

9 lines
188 B
Text
Raw Normal View History

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