github.com/looshlee/cilium@v1.6.12/examples/mesos/allfiles/start_marathon.sh (about) 1 #!/bin/bash 2 3 if [[ -z "$HOST_IP" ]]; then 4 HOST_IP=192.168.44.11 5 fi 6 7 echo "Starting marathon..." 8 /home/vagrant/marathon/bin/marathon --master $HOST_IP:5050 &> ~/marathon.log & 9 until curl -o /dev/null -s 127.0.0.1:8080/v2/apps; do echo "..."; sleep 3s; done 10 echo "Done"