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