1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

write pid to ./objs/srs.pid.

This commit is contained in:
winlin 2014-03-21 15:45:34 +08:00
parent 0686b8fa5a
commit f25c6558a5
8 changed files with 256 additions and 145 deletions

View file

@ -2,6 +2,12 @@
# the listen ports, split by space.
listen 1935;
# the pid file
# to ensure only one process can use a pid file
# and provides the current running process id, for script,
# for example, init.d script to manage the server.
# default: ./objs/srs.pid
pid ./objs/srs.pid;
# the default chunk size is 128, max is 65536,
# some client does not support chunk size change,
# however, most clients supports it and it can improve