summaryrefslogtreecommitdiff
path: root/src/flufigut-client.sh
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2012-10-13 14:37:03 +0200
committerChristian Pointner <equinox@spreadspace.org>2012-10-13 14:37:03 +0200
commit48bae050d1dd2535492a21ea30f64ad0ebc3155b (patch)
treec2e2785907e2b661bd45fba736a49365cf258e2e /src/flufigut-client.sh
parentfixed deployment (diff)
deployment and start, stop, restart work now
Diffstat (limited to 'src/flufigut-client.sh')
-rwxr-xr-xsrc/flufigut-client.sh16
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)