2007-01-26 05:26:16 +00:00
|
|
|
# Have to rotate the log file before it reaches 2GB in size
|
|
|
|
|
|
|
|
/var/log/yate {
|
2007-11-15 23:06:36 +00:00
|
|
|
size=100M
|
2007-01-26 05:26:16 +00:00
|
|
|
rotate 5
|
|
|
|
missingok
|
|
|
|
notifempty
|
|
|
|
postrotate
|
|
|
|
/bin/kill -HUP `/bin/cat /var/run/yate.pid`
|
|
|
|
endscript
|
|
|
|
}
|