--------------------------------------------
/usr/local/nginx/logs/guilong.com.cn-access.log {
missingok
notifempty
size 1000M
rotate 4
#create 0771 root root
postrotate
if [ -f /usr/local/nginx/nginx.pid ]; then
cat /usr/local/nginx/nginx.pid|xargs kill -USR1
fi
endscript
}
--------------------------------------------