chiark / gitweb /
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)
committerSven Eden <yamakuzure@gmx.net>
Thu, 9 Nov 2017 14:29:34 +0000 (15:29 +0100)
commitec9a1d982ba4327a31158b78ceea49e582ff493d
treef10088774b21b90556dbcde4069f6f01ef36a446
parentf3d32ccc5e78e7f40538a8e3672b449148beb343
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