diff options
author | Tor Egge <Tor.Egge@yahoo-inc.com> | 2017-07-05 13:54:21 +0000 |
---|---|---|
committer | Tor Egge <Tor.Egge@yahoo-inc.com> | 2017-07-05 13:54:21 +0000 |
commit | 96c6c96b833dc57c080f8cf3142cb07988d33399 (patch) | |
tree | e2088aa78cb23cdd5770b40ce1e017dca083d71b /dist | |
parent | 61c0690fc5538257c6729f98e3695fa47a586437 (diff) |
Add VESPA_USER override to default-env.txt.
Diffstat (limited to 'dist')
-rwxr-xr-x | dist/post_install.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/dist/post_install.sh b/dist/post_install.sh index 1226670c290..660aec141f5 100755 --- a/dist/post_install.sh +++ b/dist/post_install.sh @@ -70,6 +70,13 @@ ln -s $PREFIX/lib/jars/zkfacade-jar-with-dependencies.jar $INSTALLPATH/conf/conf ln -s $PREFIX/conf/configserver-app/components $INSTALLPATH/lib/jars/config-models ln -s vespa-storaged-bin $INSTALLPATH/sbin/vespa-distributord-bin +# Setup default enviroment +mkdir -p $INSTALLPATH/conf/vespa +cat > $INSTALLPATH/conf/vespa/default-env.txt <<EOF +fallback VESPA_HOME $PREFIX +override VESPA_USER vespa +EOF + # Temporary when renaming programs in filedistribution ln -s vespa-filedistributor $INSTALLPATH/sbin/filedistributor ln -s vespa-filedistributor-bin $INSTALLPATH/sbin/filedistributor-bin |