srs.logrotate 355 B

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