mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
support daemon
This commit is contained in:
parent
2c1354b9b9
commit
3ec3c1f532
5 changed files with 102 additions and 29 deletions
|
@ -19,13 +19,17 @@ chunk_size 60000;
|
|||
# default: ./objs/logs
|
||||
ff_log_dir ./objs/logs;
|
||||
# the log file for srs.
|
||||
# if not specified, disable log to file, only print to console.
|
||||
# if not specified or empty, disable log to file, only print to console.
|
||||
# if speicfied, write log to file and print to console.
|
||||
# default: empty.
|
||||
srs_log_file ./objs/srs.log;
|
||||
# the max connections.
|
||||
# if exceed the max connections, server will drop the new connection.
|
||||
# default: 2000
|
||||
max_connections 1000;
|
||||
# whether start as deamon
|
||||
# default: on
|
||||
daemon on;
|
||||
# vhost list, the __defaultVhost__ is the default vhost
|
||||
# for example, user use ip to access the stream: rtmp://192.168.1.2/live/livestream.
|
||||
# for which cannot identify the required vhost.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue