进入nginx容器内,本身已经存在logrotate配置文件,但不知道如何运行它,定时启动它? root@bd354287bf13:/etc/logrotate.d# cat nginx /var/log/nginx/*.log { daily missingok rotate 52 compress delaycompress notifempty create 640 nginx adm sharedscripts postrotate if [ -f /var/run/nginx.pid ]; then kill -USR1 `cat /var/run/nginx.pid` fi endscript }