mirror of https://github.com/docker/docs.git
Remove the inotifywait hack from our upstart host-integration example that is no longer necessary
Docker-DCO-1.1-Signed-off-by: Andrew Page <admwiggin@gmail.com> (github: tianon)
This commit is contained in:
parent
2678af4ea8
commit
ab0c9b385c
|
@ -43,11 +43,6 @@ into it:
|
|||
stop on runlevel [!2345]
|
||||
respawn
|
||||
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
|
||||
end script
|
||||
|
||||
|
|
Loading…
Reference in New Issue