diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-07-04 04:24:07 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-07-04 04:24:07 +0200 |
commit | a68c7a7ace65354d09e8bb751ae416db4460a20f (patch) | |
tree | 045bed5c64b4060afbd1e44657a4cc3fa9d15324 | |
parent | ebf57b80c37c3931ec7503b63da1a34f702d9cca (diff) |
dbus: complete coverage for unit interface
-rw-r--r-- | src/dbus-unit.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/dbus-unit.h b/src/dbus-unit.h index 5662d305f2..7babb23fc5 100644 --- a/src/dbus-unit.h +++ b/src/dbus-unit.h @@ -72,6 +72,8 @@ " <property name=\"Job\" type=\"(uo)\" access=\"read\"/>\n" \ " <property name=\"RecursiveStop\" type=\"b\" access=\"read\"/>\n" \ " <property name=\"StopWhenUneeded\" type=\"b\" access=\"read\"/>\n" \ + " <property name=\"OnlyByDependency\" 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" \ " </interface>\n" @@ -104,6 +106,8 @@ { "org.freedesktop.systemd1.Unit", "Job", bus_unit_append_job, "(uo)", u }, \ { "org.freedesktop.systemd1.Unit", "RecursiveStop", bus_property_append_bool, "b", &u->meta.recursive_stop }, \ { "org.freedesktop.systemd1.Unit", "StopWhenUneeded", bus_property_append_bool, "b", &u->meta.stop_when_unneeded }, \ + { "org.freedesktop.systemd1.Unit", "OnlyByDependency", bus_property_append_bool, "b", &u->meta.only_by_dependency }, \ + { "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 } |