nginx.suse.logrotate 355 B

123456789101112131415
  1. /var/log/nginx/*.log {
  2. daily
  3. missingok
  4. rotate 52
  5. compress
  6. delaycompress
  7. notifempty
  8. create 640 nginx trusted
  9. sharedscripts
  10. postrotate
  11. if [ -f /var/run/nginx.pid ]; then
  12. kill -USR1 `cat /var/run/nginx.pid`
  13. fi
  14. endscript
  15. }