/opt/api/log/access.log { daily rotate 10 missingok notifempty compress sharedscripts postrotate killall -s USR1 gunicorn#重置log的指针 endscript }