# Have to rotate the log and CDR files before each reaches 2GB in size

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