diff options
Diffstat (limited to 'network/asterisk/logrotate.asterisk')
-rw-r--r-- | network/asterisk/logrotate.asterisk | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/network/asterisk/logrotate.asterisk b/network/asterisk/logrotate.asterisk new file mode 100644 index 0000000000..f2281a71bc --- /dev/null +++ b/network/asterisk/logrotate.asterisk @@ -0,0 +1,8 @@ +/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 +} |