Change default jvm.option location propurly

Good afternoon!

I want to change the location of the jvm.options file, but I'm having trouble. When I install
"ES_JVM_OPTIONS = / opt / elasticsearch / jvm.options"
in /usr/share/elasticsearch/bin/elasticsearch, everything works fine, but it's not very convenient when used. I would like to set this parameter in the init.d script, but whet I set:
"ES_JVM_OPTIONS = / opt / elasticsearch / jvm.options"
path didn`t change...
How to set this option properly?
I will be grateful for any help!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.