From bb63577f143efecf4f380526df7cfbadde2039cc Mon Sep 17 00:00:00 2001 From: Jason Tedor Date: Fri, 26 May 2017 13:39:21 -0400 Subject: [PATCH] Fix plugin docs for using custom config dir This commit fixes an issue with the plugin docs incorrectly specifying how to set a custom configuration directory. The correct way is to use the environment variable CONF_DIR. --- docs/plugins/plugin-script.asciidoc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/docs/plugins/plugin-script.asciidoc b/docs/plugins/plugin-script.asciidoc index 9eb6cae1169..e89766f3c1f 100644 --- a/docs/plugins/plugin-script.asciidoc +++ b/docs/plugins/plugin-script.asciidoc @@ -165,12 +165,9 @@ can do this as follows: [source,sh] --------------------- -sudo bin/elasticsearch-plugin -Epath.conf=/path/to/custom/config/dir install +sudo CONF_DIR=/path/to/conf/dir bin/elasticsearch-plugin install --------------------- -You can also set the `CONF_DIR` environment variable to the custom config -directory path. - [float] === Proxy settings