diff --git a/_install-and-configure/configuring-opensearch/index.md b/_install-and-configure/configuring-opensearch/index.md index e599b05b9d..17b4d968bf 100755 --- a/_install-and-configure/configuring-opensearch/index.md +++ b/_install-and-configure/configuring-opensearch/index.md @@ -25,7 +25,7 @@ Certain operations are static and require you to modify the `opensearch.yml` [co ## Specifying settings as environment variables -You can specify environment variables in different ways. +You can specify environment variables in the following ways. ### Arguments as start up @@ -38,7 +38,7 @@ You can specify environment variables as arguments using `-E` when launching Ope ### Directly in the shell environment -You can configure the environment variables directly in shell before starting OpenSearch: +You can configure the environment variables directly in a shell environment before starting OpenSearch, as shown in the following example: ```bash export OPENSEARCH_JAVA_OPTS="-Xms2g -Xmx2g" @@ -49,7 +49,7 @@ export OPENSEARCH_PATH_CONF="/etc/opensearch" ### Systemd service file -When running OpenSearch as a service managed by systemd, you can specify environment variables in the service file: +When running OpenSearch as a service managed by `systemd`, you can specify environment variables in the service file, as shown in the following example: ```bash # /etc/systemd/system/opensearch.service.d/override.conf @@ -57,7 +57,7 @@ When running OpenSearch as a service managed by systemd, you can specify environ Environment="OPENSEARCH_JAVA_OPTS=-Xms2g -Xmx2g" Environment="OPENSEARCH_PATH_CONF=/etc/opensearch" ``` -After creating or modifying the file, reload the systemd configuration and restart the service: +After creating or modifying the file, reload the systemd configuration and restart the service using the following command: ```bash sudo systemctl daemon-reload @@ -67,7 +67,7 @@ sudo systemctl restart opensearch ### Docker environment variables -When running OpenSearch in Docker, you can specify environment variables using the -e option with Docker run: +When running OpenSearch in Docker, you can specify environment variables using the -e option with Docker run, as shown in the following command: ```bash docker run -e "OPENSEARCH_JAVA_OPTS=-Xms2g -Xmx2g" -e "OPENSEARCH_PATH_CONF=/usr/share/opensearch/config" opensearchproject/opensearch:latest