kunlang_video/external/srs-server-5.0-r3/trunk/packaging/redhat/srs.logrotate
2026-05-09 10:51:10 +08:00

16 lines
355 B
Plaintext

/var/log/srs/*.log {
daily
missingok
rotate 30
compress
delaycompress
notifempty
create 640 root nobody
sharedscripts
postrotate
if [ -f /var/lib/srs/srs.pid ]; then
kill -USR1 `cat /var/lib/srs/srs.pid`
fi
endscript
}