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:
commit
a4b4448009
1 changed files with 0 additions and 5 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue