asterisk addon: added logrotate config.

This commit is contained in:
Dirk Wagner
2014-07-01 11:05:26 +02:00
parent f5a99cd4e2
commit 972f767f5b
3 changed files with 14 additions and 9 deletions

View File

@@ -0,0 +1,9 @@
/var/log/asterisk/messages /var/log/asterisk/full /var/log/asterisk/security /var/log/asterisk/*_log {
weekly
missingok
rotate 4
sharedscripts
postrotate
/usr/sbin/asterisk -rx 'logger reload' > /dev/null 2> /dev/null
endscript
}