mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Config: Support set env_only by SRS_ENV_ONLY.
This commit is contained in:
parent
9f7a06bc9e
commit
9673bfb92c
3 changed files with 6 additions and 1 deletions
|
@ -275,6 +275,7 @@ private:
|
|||
// Whether show SRS signature and exit.
|
||||
bool show_signature;
|
||||
// Whether only use environment variable, ignore config file.
|
||||
// Set it by argv "-e" or env "SRS_ENV_ONLY=on".
|
||||
bool env_only_;
|
||||
// global env variables.
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue