summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordavor <vorgrimmlerdavid@gmx.de>2013-04-26 13:45:01 +0300
committerdavor <vorgrimmlerdavid@gmx.de>2013-04-26 13:45:01 +0300
commitf15372dd99f6297e7c1814831159f92f15a9e6b6 (patch)
tree8763df4b45941cfbe2a48a8fa354882bec5f37b1
parentf57f6af85419477c5d5dd3c80c19656f67b68926 (diff)
Start algorithm after compound/feature service
-rw-r--r--ot-tools-user.sh8
1 files changed, 6 insertions, 2 deletions
diff --git a/ot-tools-user.sh b/ot-tools-user.sh
index 1b4f8df..15b46a7 100644
--- a/ot-tools-user.sh
+++ b/ot-tools-user.sh
@@ -66,7 +66,11 @@ otstart() {
otkill $1
DIR=`pwd`
case "$1" in
- "algorithm") start_unicorn $1 8081;;
+ "algorithm") otkill compound;
+ otkill feature;
+ otstart compound;
+ otstart feature;
+ start_unicorn $1 8081;;
"compound") start_unicorn $1 8082;;
"dataset") start_unicorn $1 8083;;
"feature") start_unicorn $1 8084;;
@@ -78,12 +82,12 @@ otstart() {
if ! pgrep -u $USER 4s-backend>/dev/null 2>&1; then echo "Failed to start 4s-backend."; fi
if ! pgrep -u $USER 4s-httpd>/dev/null 2>&1; then echo "Failed to start 4s-httpd."; fi;;
"all") otstart 4store;
- otstart algorithm;
otstart compound;
otstart dataset;
otstart feature;
otstart model;
otstart task;
+ otstart algorithm;
otstart validation;;
*) echo "One argument required: [service_name] or 'all'";
echo "usage: otstart [all|algorithm|compound|dataset|feature|model|task|validation|4store]";