summarylogtreecommitdiffstats
path: root/asterisk.logrotated
blob: 45f6c0cf8e40462bd10abcbc7700b43a7e6467fb (plain)
1
2
3
4
5
6
7
8
9
/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
}