summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-02-08 11:13:32 +0100
committerLennart Poettering <lennart@poettering.net>2011-02-08 11:13:42 +0100
commitdcafddbc0890a8bf6c7ff31672e4602576680512 (patch)
treebd8bf4f629a45aaf75f1983b0e583bf9a211d98c /src
parentb20c6be697ded108e3c3bd5b8812fee13326eefc (diff)
dbus: use ControlGroup as property name to match config option
Diffstat (limited to 'src')
-rw-r--r--src/dbus-unit.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dbus-unit.h b/src/dbus-unit.h
index d897ef8ca7..b51fe4eb67 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 }