[systemd-commits] src/dbus-unit.h

Lennart Poettering lennart at kemper.freedesktop.org
Tue Feb 8 02:13:50 PST 2011


 src/dbus-unit.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit dcafddbc0890a8bf6c7ff31672e4602576680512
Author: Lennart Poettering <lennart at poettering.net>
Date:   Tue Feb 8 11:13:32 2011 +0100

    dbus: use ControlGroup as property name to match config option

diff --git a/src/dbus-unit.h b/src/dbus-unit.h
index d897ef8..b51fe4e 100644
--- a/src/dbus-unit.h
+++ b/src/dbus-unit.h
@@ -99,7 +99,7 @@
         "  <property name=\"RefuseManualStop\" type=\"b\" access=\"read\"/>\n" \
         "  <property name=\"DefaultDependencies\" type=\"b\" access=\"read\"/>\n" \
         "  <property name=\"DefaultControlGroup\" type=\"s\" access=\"read\"/>\n" \
-        "  <property name=\"ControlGroups\" type=\"as\" access=\"read\"/>\n" \
+        "  <property name=\"ControlGroup\" type=\"as\" access=\"read\"/>\n" \
         "  <property name=\"NeedDaemonReload\" type=\"b\" access=\"read\"/>\n" \
         "  <property name=\"JobTimeoutUSec\" type=\"t\" access=\"read\"/>\n" \
         " </interface>\n"
@@ -143,7 +143,7 @@
         { "org.freedesktop.systemd1.Unit", "AllowIsolate",         bus_property_append_bool,       "b",    &u->meta.allow_isolate            }, \
         { "org.freedesktop.systemd1.Unit", "DefaultDependencies",  bus_property_append_bool,       "b",    &u->meta.default_dependencies     }, \
         { "org.freedesktop.systemd1.Unit", "DefaultControlGroup",  bus_unit_append_default_cgroup, "s",    u                                 }, \
-        { "org.freedesktop.systemd1.Unit", "ControlGroups",        bus_unit_append_cgroups,        "as",   u                                 }, \
+        { "org.freedesktop.systemd1.Unit", "ControlGroup",         bus_unit_append_cgroups,        "as",   u                                 }, \
         { "org.freedesktop.systemd1.Unit", "NeedDaemonReload",     bus_unit_append_need_daemon_reload, "b", u                                }, \
         { "org.freedesktop.systemd1.Unit", "JobTimeoutUSec",       bus_property_append_usec,       "t",    &u->meta.job_timeout              }
 



More information about the systemd-commits mailing list