# Have to rotate the log and CDR files before each reaches 100MB in size

/var/log/yate /var/log/yate-cdr.tsv {
    size=100M
    rotate 5
    missingok
    sharedscripts
    notifempty
    postrotate
	/bin/kill -HUP `/bin/cat /var/run/yate.pid`
    endscript
}
