1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/contrib/init
Michael Crosby d16737f971 Add "Delegate=yes" to docker's service file
We need to add delegate yes to docker's service file so that it can
manage the cgroups of the processes that it launches without systemd
interfering with them and moving the processes after it is reloaded.

```
       Delegate=
           Turns on delegation of further resource control partitioning to
           processes of the unit. For unprivileged services (i.e. those
           using the User= setting), this allows processes to create a
           subhierarchy beneath its control group path. For privileged
           services and scopes, this ensures the processes will have all
           control group controllers enabled.
```

This is the proper fix for issue #20152

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2016-02-25 10:32:09 -08:00
..
openrc Fix OpenRC init script 2015-08-25 12:02:01 -05:00
systemd Add "Delegate=yes" to docker's service file 2016-02-25 10:32:09 -08:00
sysvinit-debian Add a note to /etc/default/docker noting that it does not apply to systemd 2016-01-22 07:35:02 -08:00
sysvinit-redhat Fix syntax error in init script 2015-12-22 04:00:00 -08:00
upstart Merge pull request #19886 from AndrewGuenther/185160-init-socket-fix 2016-02-03 17:38:52 -08:00