diff options
author | Christian Pointner <equinox@spreadspace.org> | 2012-10-13 14:37:03 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2012-10-13 14:37:03 +0200 |
commit | 48bae050d1dd2535492a21ea30f64ad0ebc3155b (patch) | |
tree | c2e2785907e2b661bd45fba736a49365cf258e2e /src/flufigut-client.sh | |
parent | fixed deployment (diff) |
deployment and start, stop, restart work now
Diffstat (limited to 'src/flufigut-client.sh')
-rwxr-xr-x | src/flufigut-client.sh | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/src/flufigut-client.sh b/src/flufigut-client.sh index 1fd6de1..aad3a06 100755 --- a/src/flufigut-client.sh +++ b/src/flufigut-client.sh @@ -90,16 +90,20 @@ case "$command" in ;; start) echo -n "starting ... " + while read line; do + type=`echo $line | awk '{ print $1 }'` + name=`echo $line | awk '{ print $2 }'` + start_instance $type $name + done echo "ok." ;; stop) echo -n "stopping ... " - echo "ok." - ;; - restart) - echo -n "stopping ... " - sleep 1 - echo -n "starting ..." + while read line; do + type=`echo $line | awk '{ print $1 }'` + name=`echo $line | awk '{ print $2 }'` + stop_instance $type $name + done echo "ok." ;; scp) |