diff options
author | Sebastiaan van Stijn <github@gone.nl> | 2020-03-04 13:19:42 +0100 |
---|---|---|
committer | Sebastiaan van Stijn <github@gone.nl> | 2020-03-04 13:19:42 +0100 |
commit | d339e6d4806721d6219fe254551fddee05728b4e (patch) | |
tree | bb6492cb57f1500b6efb2c3460b07b9c0776119c /contrib | |
parent | 3aae566d6ec22930c440125f97c8956c118fd822 (diff) | |
download | docker-d339e6d4806721d6219fe254551fddee05728b4e.tar.gz |
Don't disable socket activation when stopping docker service
PartOf deactivates the socket whenever the service get deactivated.
The socket unit however should be active nevertheless, so that the
docker service can be started again through socket activation.
Based on the original patch in upstream moby/moby by Max Harmathy.
Co-authored-by: Max Harmathy <max.harmathy@web.de>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/init/systemd/docker.socket | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/contrib/init/systemd/docker.socket b/contrib/init/systemd/docker.socket index 7dd95098e4..9db5049150 100644 --- a/contrib/init/systemd/docker.socket +++ b/contrib/init/systemd/docker.socket @@ -1,6 +1,5 @@ [Unit] Description=Docker Socket for the API -PartOf=docker.service [Socket] ListenStream=/var/run/docker.sock |