aboutsummaryrefslogtreecommitdiffstats
path: root/dist
diff options
context:
space:
mode:
Diffstat (limited to 'dist')
-rwxr-xr-xdist/post_install.sh7
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