2018-11-27 14:16:05 +00:00
|
|
|
# Have to rotate the log and CDR files before each reaches 100MB in size
|
2007-01-26 05:26:16 +00:00
|
|
|
|
2011-05-04 14:56:18 +00:00
|
|
|
/var/log/yate /var/log/yate-cdr.tsv {
|
2007-11-15 23:06:36 +00:00
|
|
|
size=100M
|
2007-01-26 05:26:16 +00:00
|
|
|
rotate 5
|
|
|
|
missingok
|
2012-09-24 10:47:49 +00:00
|
|
|
sharedscripts
|
2007-01-26 05:26:16 +00:00
|
|
|
notifempty
|
|
|
|
postrotate
|
|
|
|
/bin/kill -HUP `/bin/cat /var/run/yate.pid`
|
|
|
|
endscript
|
|
|
|
}
|