mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-05-01 07:50:23 +02:00
asterisk addon: added logrotate config.
This commit is contained in:
9
config/asterisk/asterisk.logrotate
Normal file
9
config/asterisk/asterisk.logrotate
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user