summaryrefslogtreecommitdiffstats
path: root/vespabase
diff options
context:
space:
mode:
authorArne H Juul <arnej@yahoo-inc.com>2016-07-07 15:47:53 +0200
committerArne H Juul <arnej@yahoo-inc.com>2016-07-07 15:47:53 +0200
commit031f55f349920145bd3c0c035cdd82ab49d02f11 (patch)
tree34822b8814f50f93b896b75b74b9a8f1356212e4 /vespabase
parent428a4b5116d38108750227c1f95727a5c08fa863 (diff)
remove hard-coded overrides
* will now use setting from environment, with fallback from the Defaults class.
Diffstat (limited to 'vespabase')
-rwxr-xr-xvespabase/src/common-env.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/vespabase/src/common-env.sh b/vespabase/src/common-env.sh
index 4c26e0e9396..d2e30ec3368 100755
--- a/vespabase/src/common-env.sh
+++ b/vespabase/src/common-env.sh
@@ -75,8 +75,6 @@ get_var() {
}
populate_environment () {
- export VESPA_WEB_SERVICE_PORT=4080
-
# these are the variables we want while running vespa:
# VESPA_HOME - where is Vespa installed
# VESPA_CONFIGSERVERS - the host (or list of host) where a configserver runs
@@ -87,6 +85,7 @@ populate_environment () {
# VESPA_CONFIGSERVER_RPC_PORT - the RPC port for configservers
# VESPA_CONFIGSERVER_HTTP_PORT - the webservice (REST api) port for configservers
# VESPA_CONFIG_PROTOCOL_VERSION - the RPC protocol version to use
+ # VESPA_WEB_SERVICE_PORT - where the main REST apis will normally run
# debugging
# VESPA_VALGRIND_OPT - for memory leak tracking, the options to use for valgrind