summaryrefslogtreecommitdiffstats
path: root/vespabase
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@yahoo-inc.com>2017-07-07 09:10:52 +0000
committerTor Egge <Tor.Egge@yahoo-inc.com>2017-07-07 09:10:52 +0000
commit46009a8f3dc5a6df8a18be45417e5a37b42f7b98 (patch)
treeee8ce9c9511bb3b12d312a4df166c4245fb50944 /vespabase
parent3f730788988ad3427c7dc81f49a8e1a8ae2fadd4 (diff)
Remove fallback setting of VESPA_USER, it should already be set from
config file (default-env.txt).
Diffstat (limited to 'vespabase')
-rwxr-xr-xvespabase/src/common-env.sh6
1 files changed, 1 insertions, 5 deletions
diff --git a/vespabase/src/common-env.sh b/vespabase/src/common-env.sh
index 39107ae5500..dee3b1c785d 100755
--- a/vespabase/src/common-env.sh
+++ b/vespabase/src/common-env.sh
@@ -77,6 +77,7 @@ get_var() {
populate_environment () {
# these are the variables we want while running vespa:
# VESPA_HOME - where is Vespa installed
+ # VESPA_USER - The user running the vespa programs
# VESPA_CONFIGSERVERS - the host (or list of host) where a configserver runs
# VESPA_CONFIG_SOURCES - possible override as the first place to get config
@@ -100,11 +101,6 @@ populate_environment () {
read_conf_file
consider_fallback ROOT ${VESPA_HOME%/}
- if id yahoo >/dev/null 2>&1 ; then
- consider_fallback VESPA_USER "yahoo"
- elif id vespa >/dev/null 2>&1 ; then
- consider_fallback VESPA_USER "vespa"
- fi
}
populate_environment