We are using ElasticSearch 0.20.2 and run the daemon using
bin/elasticsearch [-f]
The bin/elasticsearch script sets ES_HOME on its own and there seem to be
no way to influence the path of the configuration file read. ES always
reads the settings from
$ES_HOME/config/elasticsearch.yml
However I must be able for specifying the path to our own configuration
file without overriding the existing elasticsearch.yml that comes with
ElasticSearch.
How do I do that?
-aj
--
You can set the system variable es.path.conf.
I run elasticsearch like this:
$ES_HOME/bin/elasticsearch -f -Des.path.conf=./
And I keep elasticsearch.yml and logging.yml in the current directory.
On Thu, Jan 17, 2013 at 3:05 PM, Andreas Jung zopyxfilter@gmail.com wrote:
We are using Elasticsearch 0.20.2 and run the daemon using
bin/elasticsearch [-f]
The bin/elasticsearch script sets ES_HOME on its own and there seem to be
no way to influence the path of the configuration file read. ES always
reads the settings from
$ES_HOME/config/elasticsearch.yml
However I must be able for specifying the path to our own configuration
file without overriding the existing elasticsearch.yml that comes
with Elasticsearch.
How do I do that?
-aj
--
--