]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/core/dbus-cgroup.c
core: rework the Delegate= unit file setting to take a list of controller names
authorLennart Poettering <lennart@poettering.net>
Thu, 9 Nov 2017 14:29:34 +0000 (15:29 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 13 Nov 2017 09:49:15 +0000 (10:49 +0100)
commit02638280390d75f25efca683c5abd57a65c5a16f
tree9b6669559e66589cb7c26f74ad7e040f94209eae
parent800f478c2fa569a97b38fae6e2c7ae5d077085fd
core: rework the Delegate= unit file setting to take a list of controller names

Previously it was not possible to select which controllers to enable for
a unit where Delegate=yes was set, as all controllers were enabled. With
this change, this is made configurable, and thus delegation units can
pick specifically what they want to manage themselves, and what they
don't care about.
src/core/cgroup.c
src/core/cgroup.h
src/core/dbus-cgroup.c
src/core/load-fragment-gperf.gperf.m4
src/core/load-fragment.c
src/core/load-fragment.h
src/core/unit.c
src/shared/bus-unit-util.c