mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Squash: Support RPM. Fix bugs.
This commit is contained in:
parent
a01354a595
commit
523b055c06
22 changed files with 397 additions and 23 deletions
15
trunk/packaging/redhat/srs.logrotate
Normal file
15
trunk/packaging/redhat/srs.logrotate
Normal file
|
@ -0,0 +1,15 @@
|
|||
/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
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue