-
Notifications
You must be signed in to change notification settings - Fork 24.6k
-
Notifications
You must be signed in to change notification settings - Fork 24.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Init script in Debian package ignores some options in elasticsearch.yml #1765
Comments
Yes, that happens because the parameters provided in the command line override the ones in the config file (they have precedence). Why not change it using the relevant env vars? |
It's weird that things like the data path are never obeyed in the config file. Also, there's not really an opportunity to set env vars before the init.d script runs. |
+1 this behavior is really weird |
I added #2016, which will allow to solve this problem, will push a fix for this soon. |
Thank you! :) |
In the line…
…in
/etc/init.d/elasticsearch
, several options, like es.path.data, get paved over by the defaults from/etc/default/elasticsearch
or by env vars. Anypath.data
option inelasticsearch.yml
is ignored.The text was updated successfully, but these errors were encountered: