diff options
author | Jason Tedor <jason@tedor.me> | 2017-05-26 13:39:21 -0400 |
---|---|---|
committer | Jason Tedor <jason@tedor.me> | 2017-05-26 13:43:28 -0400 |
commit | 3d35232251298fe279812fca11cf3d498cd57bd6 (patch) | |
tree | ff3a576779fc3b77c29c4dbf885b810e49e82f92 | |
parent | 310b81a4112d290384a495c8e9ca9c8c07739314 (diff) |
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.
-rw-r--r-- | docs/plugins/plugin-script.asciidoc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/docs/plugins/plugin-script.asciidoc b/docs/plugins/plugin-script.asciidoc index 9eb6cae116..e89766f3c1 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 <plugin name> +sudo CONF_DIR=/path/to/conf/dir bin/elasticsearch-plugin install <plugin name> --------------------- -You can also set the `CONF_DIR` environment variable to the custom config -directory path. - [float] === Proxy settings |