]> git.ipfire.org Git - thirdparty/systemd.git/commit
core: move ControlGroup and Slice properties out of the dbus "Unit" interface
authorLennart Poettering <lennart@poettering.net>
Mon, 1 Jul 2013 00:45:02 +0000 (02:45 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 1 Jul 2013 00:45:02 +0000 (02:45 +0200)
commitd7550a6752be85f98408a86b7ae23a033e9b2983
tree2f0088c426f8f3a091d944a832a3d04a4f84f7ef
parent9f2e86af0600e99cff00d1c92f9bb8d38f29896a
core: move ControlGroup and Slice properties out of the dbus "Unit" interface

Slice/ControlGroup only really makes sense for unit types which actually
have cgroups attached to them, hence move them out of the generic Unit
interface and into the specific unit type interfaces.

These fields will continue to be part of Unit though, simply because
things are a log easier that way. However, regardless how this looks
internally we should keep things clean and independent of the specific
implementation of the inside.
src/core/dbus-mount.c
src/core/dbus-scope.c
src/core/dbus-service.c
src/core/dbus-slice.c
src/core/dbus-socket.c
src/core/dbus-swap.c
src/core/dbus-unit.c
src/core/dbus-unit.h