Direktori : /etc/logrotate.d/ |
Current File : //etc/logrotate.d/nginx |
/var/log/nginx/*.log { missingok rotate 21 compress delaycompress notifempty nodateext sharedscripts daily postrotate if [ -f /var/run/nginx.pid ]; then kill -USR1 `cat /var/run/nginx.pid` fi endscript }