* Fix up directives in docker.service.

OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=116
This commit is contained in:
Aleksa Sarai 2016-07-07 10:35:22 +00:00 committed by Git OBS Bridge
parent d9b4385673
commit da0ea66941

View File

@ -14,12 +14,12 @@ LimitNOFILE=infinity
LimitNPROC=infinity LimitNPROC=infinity
LimitCORE=infinity LimitCORE=infinity
# Uncomment TasksMax if your systemd version supports it. # Uncomment TasksMax if your systemd version supports it.
# Only systemd 226 and above support this version. # Only systemd 226 and above support this property.
#TasksMax=infinity #TasksMax=infinity
# Set delegate yes so that systemd does not reset the cgroups of docker containers # Set delegate yes so that systemd does not reset the cgroups of docker containers
Delegate=yes # Only systemd 218 and above support this property.
# Kill only the docker process, not all processes in the cgroup #Delegate=yes
KillMode=process # KillMode=process is not necessary because of how we set up containerd.
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target