blob: ebc28f4924b6f56d42d42d81f23672fad1cd1de8 [file] [log] [blame]
#!/bin/bash
#Restart DFC app
docker restart dfc_app
DFC_APP="$(docker ps -q --filter='name=dfc_app')"
#Wait for initialization of docker containers for dfc app and all simulators
for i in {1..10}; do
if [ $(docker inspect --format '{{ .State.Running }}' $DFC_APP) ]
then
echo "DFC app Running"
break
else
echo sleep $i
sleep $i
fi
done