summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgebele <gebele@in-silico.ch>2014-03-05 10:13:36 +0100
committergebele <gebele@in-silico.ch>2014-03-05 10:13:36 +0100
commit90bcb36f358882acbe8710711e18af9756ab77f9 (patch)
tree0520ac3787b02c843ffdf87986c16e71063d11a8
parenta003762900bf94188cd16aae4505127f8d7659f6 (diff)
set backend name option
-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 a329ac5..71561e8 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.