Merge pull request #4799 from tianon/no-more-inotifywait
Remove the inotifywait hack from our upstart host-integration example Upstream-commit: a4b4448009587e79a7a2ddef0178860fd3c01de7 Component: engine
This commit is contained in:
@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user