elasticsearch/elasticsearch — pull request #2223 by chrisalexander (2012-08-31 15:08:00+00:00)
Title: Use the java args to enable HTTP proxying etc.

The plugin downloader uses HTTP(S) to download new plugins, but does not include support for environments where HTTP proxies are required.

This patch simply enables the use of the standard JAVA_ARGS environment variable when the java command is called in the script.

Thus you may enable HTTP proxying as so prior to running the plugin script:

export JAVA_ARGS=-Dhttp.proxyHost=host -Dhttp.proxyPort=3128 -Dhttps.proxyHost=host -Dhttps.proxyPort=3128