Add $JAVA_OPTS to the plugin manager, useful for those who have proxies
Summary: Facebook machines have on direct access to the internet. Need to tell java that we should use proxies. Test Plan: export JAVA_OPTS="-Dhttp.proxyHost=<ip> -Dhttp.proxyPort=8080"
This commit is contained in:
parent
29928a9e15
commit
cf7ebfcebf
|
@ -28,4 +28,4 @@ else
|
|||
JAVA=`which java`
|
||||
fi
|
||||
|
||||
exec $JAVA -Xmx64m -Xms16m -Delasticsearch -Des.path.home="$ES_HOME" -cp "$ES_HOME/lib/*" org.elasticsearch.plugins.PluginManager $*
|
||||
exec $JAVA $JAVA_OPTS -Xmx64m -Xms16m -Delasticsearch -Des.path.home="$ES_HOME" -cp "$ES_HOME/lib/*" org.elasticsearch.plugins.PluginManager $*
|
||||
|
|
Loading…
Reference in New Issue