Skip to content

Conversation

@nfnty
Copy link

@nfnty nfnty commented Jul 26, 2014

Fixes race condition between service and socket and also enables the socket automatically when the service is enabled.

Docker-DCO-1.1-Signed-off-by: Alexander Larsson <[email protected]> (github: nfnty)
@tianon
Copy link
Member

tianon commented Jul 26, 2014

Do we still need the require with this change?

@nfnty
Copy link
Author

nfnty commented Jul 26, 2014

The "Requires=docker.socket" is necessary in order to activate the socket when the service is activated. "After=docker.socket" only dictates that the service waits for the socket.

@tianon tianon mentioned this pull request Jul 28, 2014
@nfnty nfnty closed this Jul 31, 2014
@nfnty nfnty deleted the systemd branch July 31, 2014 02:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants