mirror of https://github.com/hashicorp/consul
Adding documentation about specifying multiple configuration directories
parent
ecf43cf14e
commit
9271d94532
|
@ -895,7 +895,7 @@ Options:
|
|||
-config-dir=foo Path to a directory to read configuration files
|
||||
from. This will read every file ending in ".json"
|
||||
as configuration in this directory in alphabetical
|
||||
order.
|
||||
order. This can be specified multiple times.
|
||||
-data-dir=path Path to a data directory to store agent state
|
||||
-recursor=1.2.3.4 Address of an upstream DNS server.
|
||||
Can be specified multiple times.
|
||||
|
|
|
@ -103,8 +103,9 @@ The options below are all specified on the command-line.
|
|||
configuration files to load. Consul will
|
||||
load all files in this directory with the suffix ".json". The load order
|
||||
is alphabetical, and the the same merge routine is used as with the
|
||||
[`config-file`](#_config_file) option above. For more information
|
||||
on the format of the configuration files, see the [Configuration Files](#configuration_files) section.
|
||||
[`config-file`](#_config_file) option above. This option can be specified mulitple times
|
||||
to load multiple directories. For more information on the format of the configuration files,
|
||||
see the [Configuration Files](#configuration_files) section.
|
||||
|
||||
* <a name="_data_dir"></a><a href="#_data_dir">`-data-dir`</a> - This flag provides
|
||||
a data directory for the agent to store state.
|
||||
|
|
Loading…
Reference in New Issue