記錄nginx
/srv/logs/nginx/*log { create 0644 nobody nobody daily rotate 10 missingok notifempty compress sharedscripts postrotate /bin/kill -USR1 `cat /srv/app/tengine/logs/nginx.pid 2>/dev/null` 2>/dev/null || true endscript }