SHA256
1
0
forked from pool/docker

Accepting request 449885 from home:jordimassaguerpla:branch:Vc:add_wait_on_service_startup

- add "a wait" when starting docker service to fix
  bsc#1019251

OBS-URL: https://build.opensuse.org/request/show/449885
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=163
This commit is contained in:
2017-01-13 13:05:35 +00:00
committed by Git OBS Bridge
parent d7c5e8e7f3
commit 82acbf96ef
4 changed files with 33 additions and 1 deletions

View File

@@ -10,7 +10,9 @@ EnvironmentFile=/etc/sysconfig/docker
# While Docker has support for socket activation (-H fd://), this is not
# enabled by default because enabling socket activation means that on boot your
# containers won't start until someone tries to administer the Docker daemon.
Type=simple
ExecStart=/usr/bin/dockerd --containerd /run/containerd/containerd.sock $DOCKER_NETWORK_OPTIONS $DOCKER_OPTS
ExecStartPost=/usr/lib/docker/docker_service_helper.sh wait
ExecReload=/bin/kill -s HUP $MAINPID
# Having non-zero Limit*s causes performance problems due to accounting overhead