1
0
Fork 0
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:
winlin 2022-10-30 21:01:02 +08:00
parent 9f7a06bc9e
commit 9673bfb92c
3 changed files with 6 additions and 1 deletions

View file

@ -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: