Load the node server settings from a .env file
The reflector and probe node read .env next to the binary and from the working directory. Command-line flags still override environment variables, which override the file. Missing .env files are ignored, and the packaged defaults stay TCP 19090 and UDP 19091. Co-authored-by: yanjiu0721 <yanjiu0721@users.noreply.github.com>
This commit is contained in:
1 parent
f6ffbde518
commit
ef1c5b42ab
14 files changed
+1086
-106
No files matched your search
@@ -0,0 +1,7 @@
|
||||
@echo off
|
||||
cd /d "%~dp0"
|
||||
echo 正在启动网络质量探测节点。端口和口令请改同目录下的 .env
|
||||
netquality-reflector.exe
|
||||
echo.
|
||||
echo 程序已退出。如果上面有报错,请检查 .env 后重新双击本文件。
|
||||
pause
|
||||
Reference in new issue
Block a user