Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix opensearch-env always sources the environment from hardcoded file (…
…#875) (#2908) backport commit e3d86ba to 1.x branch distribution/bin/opensearch-env always sources the environment from the default environment file /etc/default/opensearch. This is an issue if we want to run multiple instances of OpenSearch on the same host. This change lets users override the default behavior by not sourcing the default environment file in case OPENSEARCH_PATH_CONF is set. Signed-off-by: xuezhou25 <[email protected]>
- Loading branch information