summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnstein Ressem <aressem@yahoo-inc.com>2017-10-19 12:41:05 +0200
committerArnstein Ressem <aressem@yahoo-inc.com>2017-10-19 12:41:05 +0200
commitd58f6e59f4b3d61ae2c37cd96410da63401c0160 (patch)
tree63c551f33b41c093daf43352b14417a242195a26
parent1aee9a416a24538c7e2900d5f556fc6e814441bd (diff)
Move config server defs and make sure VESPA_USER owns var/.
-rw-r--r--functions.cmake4
-rwxr-xr-xvespabase/src/rhel-prestart.sh1
2 files changed, 3 insertions, 2 deletions
diff --git a/functions.cmake b/functions.cmake
index 1c3d1ff7a6e..f3d28bb1a0f 100644
--- a/functions.cmake
+++ b/functions.cmake
@@ -539,9 +539,9 @@ endfunction()
function(install_config_definition)
if(ARGC GREATER 1)
- install(FILES ${ARGV0} RENAME ${ARGV1} DESTINATION var/db/vespa/config_server/serverdb/classes)
+ install(FILES ${ARGV0} RENAME ${ARGV1} DESTINATION share/vespa/configdefinitions)
else()
- install(FILES ${ARGV0} DESTINATION var/db/vespa/config_server/serverdb/classes)
+ install(FILES ${ARGV0} DESTINATION share/vespa/configdefinitions)
endif()
endfunction()
diff --git a/vespabase/src/rhel-prestart.sh b/vespabase/src/rhel-prestart.sh
index 37fc5e98533..89be9fec2be 100755
--- a/vespabase/src/rhel-prestart.sh
+++ b/vespabase/src/rhel-prestart.sh
@@ -84,6 +84,7 @@ fixdir root wheel 1777 var/run
fixdir ${VESPA_USER} wheel 1777 var/crash
fixdir ${VESPA_USER} wheel 1777 logs/vespa
fixdir ${VESPA_USER} wheel 1777 tmp/vespa
+fixdir ${VESPA_USER} wheel 755 var
fixdir ${VESPA_USER} wheel 755 libexec/vespa/plugins/qrs
fixdir ${VESPA_USER} wheel 755 logs/vespa/configserver
fixdir ${VESPA_USER} wheel 755 logs/vespa/qrs