allow set machine uid with command line (#1009)

This commit is contained in:
Sijie.Sun
2025-06-18 11:02:29 +08:00
committed by GitHub
parent 34ba0bc95b
commit 8c2f96d1aa
4 changed files with 32 additions and 4 deletions

View File

@@ -10,6 +10,11 @@ core_clap:
配置服务器地址。允许格式:
完整URL--config-server udp://127.0.0.1:22020/admin
仅用户名:--config-server admin将使用官方的服务器
machine_id:
en: |+
the machine id to identify this machine, used for config recovery after disconnection, must be unique and fixed. default is from system.
zh-CN: |+
Web 配置服务器通过 machine id 来识别机器,用于断线重连后的配置恢复,需要保证唯一且固定不变。默认从系统获得。
config_file:
en: "path to the config file, NOTE: the options set by cmdline args will override options in config file"
zh-CN: "配置文件路径,注意:命令行中的配置的选项会覆盖配置文件中的选项"