summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Maunz <andreas@maunz.de>2012-09-06 13:43:15 +0200
committerAndreas Maunz <andreas@maunz.de>2012-09-06 13:43:15 +0200
commit7cf53ab215a6235c72b67f302dd4dd2043827aa1 (patch)
tree5abc224f9d7eeb0d527d5e60395df7e5c49d4c3d
parent39f5502f3b38e7f26fedce427a89681eee21651c (diff)
Enabled model
-rw-r--r--ot-tools-user.sh20
1 files changed, 8 insertions, 12 deletions
diff --git a/ot-tools-user.sh b/ot-tools-user.sh
index 53dfa7e..55a591e 100644
--- a/ot-tools-user.sh
+++ b/ot-tools-user.sh
@@ -50,8 +50,7 @@ otstart() {
"compound") start_unicorn $1 8082;;
"dataset") start_unicorn $1 8083;;
"feature") start_unicorn $1 8084;;
- "model") #start_unicorn $1 8085;;
- echo "$1 not available yet.";;
+ "model") start_unicorn $1 8085;;
"task") start_unicorn $1 8086;;
"validation") #start_unicorn $1 8087;;
echo "$1 not available yet.";;
@@ -63,7 +62,7 @@ otstart() {
otstart compound;
otstart dataset;
otstart feature;
- #otstart model;
+ otstart model;
otstart task;;
#otstart validation;;
*) echo "One argument required: [service_name] or 'all'";
@@ -106,8 +105,7 @@ otreload() {
"compound") reload_unicorn 8082;;
"dataset") reload_unicorn 8083;;
"feature") reload_unicorn 8084;;
- "model") #reload_unicorn 8085;;
- echo "$1 not available yet.";;
+ "model") reload_unicorn 8085;;
"task") reload_unicorn 8086;;
"validation") #reload_unicorn 8087;;
echo "$1 not available yet.";;
@@ -118,7 +116,7 @@ otreload() {
otreload compound;
otreload dataset;
otreload feature;
- #otreload model;
+ otreload model;
otreload task;
#otrelaod validation;
otreload 4store;;
@@ -150,8 +148,7 @@ otkill() {
"compound") kill_unicorn 8082;;
"dataset") kill_unicorn 8083;;
"feature") kill_unicorn 8084;;
- "model") #kill_unicorn 8085;;
- echo "$1 not available yet.";;
+ "model") kill_unicorn 8085;;
"task") kill_unicorn 8086;;
"validation") #kill_unicorn 8087;;
echo "$1 not available yet.";;
@@ -161,7 +158,7 @@ otkill() {
otkill compound;
otkill dataset;
otkill feature;
- #otkill model;
+ otkill model;
otkill task;
#otkill validation;
otkill 4store;;
@@ -242,8 +239,7 @@ otcheck() {
"compound") check_service "compound";;
"dataset") check_service "dataset";;
"feature") check_service "feature";;
- "model") #check_service "model";;
- echo "$1 not available yet.";;
+ "model") check_service "model";;
"task") check_service "task";;
"validation") #check_service "validation";;
echo "$1 not available yet.";;
@@ -252,7 +248,7 @@ otcheck() {
otcheck "compound";
otcheck "dataset";
otcheck "feature";
- #otcheck "model";
+ otcheck "model";
otcheck "task";
#otcheck "validation";
otcheck 4store;;