mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-28 17:34:17 -04:00
Remove plugin script parsing of system properties
The plugin script parses command-line options looking for Java system properties and extracts these arguments to pass to the java command when starting the JVM. Since elasticsearch-plugin allows arbitrary user arguments to the JVM via ES_JAVA_OPTS, this parsing is unnecessary. This commit removes this unnecessary Relates #18207
This commit is contained in:
parent
b7d02fbd1e
commit
7d1fd17172
5 changed files with 14 additions and 25 deletions
|
@ -77,7 +77,7 @@ to a local Java truststore and pass the location to the script as follows:
|
|||
|
||||
[source,shell]
|
||||
-----------------------------------
|
||||
sudo bin/elasticsearch-plugin -Djavax.net.ssl.trustStore=/path/to/trustStore.jks install https://....
|
||||
sudo ES_JAVA_OPTS="-Djavax.net.ssl.trustStore=/path/to/trustStore.jks" bin/elasticsearch-plugin install https://....
|
||||
-----------------------------------
|
||||
|
||||
[[listing-removing]]
|
||||
|
@ -169,7 +169,7 @@ options can be set on the command line:
|
|||
|
||||
[source,shell]
|
||||
-----------------------------------
|
||||
sudo bin/elasticsearch-plugin install mobz/elasticsearch-head -DproxyHost=host_name -DproxyPort=port_number
|
||||
sudo ES_JAVA_OPTS="-DproxyHost=host_name -DproxyPort=port_number" bin/elasticsearch-plugin install mobz/elasticsearch-head
|
||||
-----------------------------------
|
||||
|
||||
On Windows, they need to be added to the `ES_JAVA_OPTS` environment variable:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue