summarylogtreecommitdiffstats
path: root/asterisk.logrotated
blob: 4bf367be3b215c177b5223ddf2f12d1371ff3274 (plain)
1
2
3
4
5
6
7
8
9
10
/var/log/asterisk/*_log /var/log/asterisk/messages.log {
  create 640 asterisk asterisk
  compress
  missingok
  notifempty
  postrotate
    /usr/sbin/asterisk -rx "logger reload" 1>/dev/null || true
  endscript
}