Bladeren bron

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>
Sebastiaan van Stijn 5 jaren geleden
bovenliggende
commit
d339e6d480
1 gewijzigde bestanden met toevoegingen van 0 en 1 verwijderingen
  1. 0 1
      contrib/init/systemd/docker.socket

+ 0 - 1
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