mirror of
https://github.com/EasyTier/easytier.github.io.git
synced 2025-05-19 10:27:06 +00:00
16 lines
676 B
Markdown
16 lines
676 B
Markdown
# Configuration File
|
|
|
|
You can specify the configuration file path using the -c parameter.
|
|
|
|
```sh
|
|
easytier-core -c ./config.yaml
|
|
```
|
|
|
|
::: warning Note
|
|
Note: The configuration file has a higher priority. When a configuration file is specified at runtime, all other command line parameters except `-c` will be ignored and only the configuration file will take effect.
|
|
:::
|
|
|
|
Running with parameters can generate a configuration file with the corresponding parameters. The configuration file will be printed in the command line, and you can manually copy and save it as a toml file.
|
|
|
|
Running `easytier-core` directly without parameters will generate the minimal configuration file.
|