1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #4799 from tianon/no-more-inotifywait

Remove the inotifywait hack from our upstart host-integration example
This commit is contained in:
Sven Dowideit 2014-04-06 08:34:50 +10:00
commit a4b4448009

View file

@ -43,11 +43,6 @@ into it:
stop on runlevel [!2345] stop on runlevel [!2345]
respawn respawn
script script
# Wait for docker to finish starting up first.
FILE=/var/run/docker.sock
while [ ! -e $FILE ] ; do
inotifywait -t 2 -e create $(dirname $FILE)
done
/usr/bin/docker start -a redis_server /usr/bin/docker start -a redis_server
end script end script