From: Sam Date: Wed, 20 Nov 2013 04:30:58 +0000 (+1100) Subject: Update launcher X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=d2dc299ae56037f23f6b626ac7dd676da7a970e0;p=discourse_docker.git Update launcher increase sleep and message when you fail --- diff --git a/launcher b/launcher index 8708d3d..4b1b547 100755 --- a/launcher +++ b/launcher @@ -73,8 +73,8 @@ case "$command" in set_volumes exec echo "$input" | docker run -cidfile $cidbootstrap -i -a stdin -a stdout -a stderr $volumes $image /pups/bin/pups --stdin - sleep 5 - docker commit `cat $cidbootstrap` $image $config + sleep 10 + docker commit `cat $cidbootstrap` $image $config || echo 'FAILED TO COMMIT' docker rm `cat $cidbootstrap` && rm $cidbootstrap exit 0 ;;