chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
core: move ControlGroup and Slice properties out of the dbus "Unit" interface
[elogind.git]
/
src
/
core
/
dbus-slice.c
diff --git
a/src/core/dbus-slice.c
b/src/core/dbus-slice.c
index 3b677792fd7644fa477d83f109628f9133117c66..dac9fbdf5f5d020acb8a58537dfd6294d5740a06 100644
(file)
--- a/
src/core/dbus-slice.c
+++ b/
src/core/dbus-slice.c
@@
-29,6
+29,7
@@
#define BUS_SLICE_INTERFACE \
" <interface name=\"org.freedesktop.systemd1.Slice\">\n" \
#define BUS_SLICE_INTERFACE \
" <interface name=\"org.freedesktop.systemd1.Slice\">\n" \
+ BUS_UNIT_CGROUP_INTERFACE \
BUS_CGROUP_CONTEXT_INTERFACE \
" </interface>\n"
BUS_CGROUP_CONTEXT_INTERFACE \
" </interface>\n"
@@
-53,6
+54,7
@@
DBusHandlerResult bus_slice_message_handler(Unit *u, DBusConnection *c, DBusMess
const BusBoundProperties bps[] = {
{ "org.freedesktop.systemd1.Unit", bus_unit_properties, u },
const BusBoundProperties bps[] = {
{ "org.freedesktop.systemd1.Unit", bus_unit_properties, u },
+ { "org.freedesktop.systemd1.Slice", bus_unit_cgroup_properties, u },
{ "org.freedesktop.systemd1.Slice", bus_cgroup_context_properties, &s->cgroup_context },
{}
};
{ "org.freedesktop.systemd1.Slice", bus_cgroup_context_properties, &s->cgroup_context },
{}
};