]> git.pld-linux.org Git - packages/docker.git/commitdiff
wait for pid to be created
authorElan Ruusamäe <glen@delfi.ee>
Mon, 15 Feb 2016 21:27:50 +0000 (23:27 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Mon, 15 Feb 2016 21:27:50 +0000 (23:27 +0200)
docker.init

index 6708f0912ca1be583436fb5498f22fb1707f9e9f..7ba800b07e1e1d95f432f25d763c6a4f95a88108 100755 (executable)
@@ -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
 }
This page took 0.055578 seconds and 4 git commands to generate.