Rename CONF_DIR to ES_PATH_CONF

The environment variable CONF_DIR was previously inconsistently used in
our packaging to customize the location of Elasticsearch configuration
files. The importance of this environment variable has increased
starting in 6.0.0 as it's now used consistently to ensure Elasticsearch
and all secondary scripts (e.g., elasticsearch-keystore) all use the
same configuration. The name CONF_DIR is there for legacy reasons yet
it's too generic. This commit renames CONF_DIR to ES_PATH_CONF.

Relates #26197
This commit is contained in:
Jason Tedor 2017-08-15 06:19:06 +09:00 committed by GitHub
parent 62021147ea
commit e9687622bd
35 changed files with 86 additions and 75 deletions

View file

@ -172,7 +172,7 @@ can do this as follows:
[source,sh]
---------------------
sudo CONF_DIR=/path/to/conf/dir bin/elasticsearch-plugin install <plugin name>
sudo ES_PATH_CONF=/path/to/conf/dir bin/elasticsearch-plugin install <plugin name>
---------------------
[float]