Merge pull request #109 from xuezhou25/configuration-env-change
Add instructions on how to change OPENSEARCH_PATH_CONF environment variable
This commit is contained in:
commit
a24ac474f1
|
@ -65,6 +65,10 @@ PUT _cluster/settings
|
||||||
|
|
||||||
You can find `opensearch.yml` in `/usr/share/opensearch/config/opensearch.yml` (Docker) or `/etc/opensearch/opensearch.yml` (most Linux distributions) on each node.
|
You can find `opensearch.yml` in `/usr/share/opensearch/config/opensearch.yml` (Docker) or `/etc/opensearch/opensearch.yml` (most Linux distributions) on each node.
|
||||||
|
|
||||||
|
You can edit the `OPENSEARCH_PATH_CONF=/etc/opensearch` to change the config directory location. This variable is sourced from `/etc/default/opensearch`(Debian package) and `/etc/sysconfig/opensearch`(RPM package).
|
||||||
|
|
||||||
|
If you set your customized `OPENSEARCH_PATH_CONF` variable, be aware that other default environment variables will not be loaded.
|
||||||
|
|
||||||
You don't mark settings in `opensearch.yml` as persistent or transient, and settings use the flat form:
|
You don't mark settings in `opensearch.yml` as persistent or transient, and settings use the flat form:
|
||||||
|
|
||||||
```yml
|
```yml
|
||||||
|
|
Loading…
Reference in New Issue