summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgebele <gebele@in-silico.ch>2014-03-04 16:37:04 +0100
committergebele <gebele@in-silico.ch>2014-03-04 16:37:04 +0100
commita1a9d08608424cf969fcfbda8c64740d77db5e71 (patch)
tree2e90c3d8f5facd891332202e63ca299b618b2a48
parent79e25371d92564ca926258b92e2e91f29d376dc1 (diff)
enable set backend name in config.sh
-rwxr-xr-x4store-install2
-rwxr-xr-xconfig.sh3
2 files changed, 4 insertions, 1 deletions
diff --git a/4store-install b/4store-install
index 12650dc..4f70582 100755
--- a/4store-install
+++ b/4store-install
@@ -47,4 +47,4 @@ notify
# return to wd
cd $DIR
. ./utils.sh
-cmd="$FST/bin/4s-backend-setup opentox" && run_cmd "$cmd" "Create 'opentox' 4store backend"
+cmd="$FST/bin/4s-backend-setup $BACKEND_NAME" && run_cmd "$cmd" "Create '$BACKEND_NAME' 4store backend"
diff --git a/config.sh b/config.sh
index e5072e9..d1efbd7 100755
--- a/config.sh
+++ b/config.sh
@@ -29,6 +29,9 @@ FOUR_STORE_URL="http://4store.org/download"
# 4) Server settings.
#OHM_PORT="6379" # set to port (no colon)
+# 5) Backend name.
+BACKEND_NAME="opentox"
+
# Done.
### Nothing to gain from changes below this line.