diff options
Diffstat (limited to 'contrib/scripts')
-rw-r--r-- | contrib/scripts/asterisk.logrotate | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/contrib/scripts/asterisk.logrotate b/contrib/scripts/asterisk.logrotate new file mode 100644 index 000000000..f83257060 --- /dev/null +++ b/contrib/scripts/asterisk.logrotate @@ -0,0 +1,13 @@ +/var/log/asterisk/debug /var/log/asterisk/console /var/log/asterisk/full /var/log/asterisk/debug /var/log/asterisk/*log { + weekly + missingok + rotate 52 + compress + delaycompress + notifempty + create 640 root root + sharedscripts + postrotate + /usr/sbin/asterisk -rx 'logger reload' > /dev/null 2> /dev/null + endscript +}
\ No newline at end of file |