[packages/docker] wait for pid to be created

glen glen at pld-linux.org
Mon Feb 15 22:27:56 CET 2016


commit 9bb76e880ce6bd51183e19425fd960a4440fad7f
Author: Elan Ruusamäe <glen at delfi.ee>
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



More information about the pld-cvs-commit mailing list