commit 9bb76e880ce6bd51183e19425fd960a4440fad7f
Author: Elan Ruusamäe <[email protected]>
Date:   Mon Feb 15 23:27:50 2016 +0200

    wait for pid to be created

 docker.init | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/docker.init b/docker.init
index 6708f09..7ba800b 100755
--- a/docker.init
+++ b/docker.init
@@ -44,7 +44,9 @@ start() {
        # https://github.com/docker/docker/issues/2758
 
        msg_starting "Docker"
-       daemon --fork /usr/bin/docker daemon $OPTIONS
+       daemon --fork --pidfile $pidfile --waitfortime 60 \
+               /usr/bin/docker daemon $OPTIONS
+
        RETVAL=$?
        [ $RETVAL -eq 0 ] && touch /var/lock/subsys/docker
 }
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/docker.git/commitdiff/9bb76e880ce6bd51183e19425fd960a4440fad7f

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to