summaryrefslogtreecommitdiff
path: root/src/dbus-service.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-07-04 18:49:58 +0200
committerLennart Poettering <lennart@poettering.net>2010-07-04 18:49:58 +0200
commitb58b41160fde88a82cba1ddec4be7dfb08825e35 (patch)
tree9f5b30cf50bcaf752fc955507c5d065d214e0222 /src/dbus-service.c
parent14ad1d1437f51b8ebc8dc6e8d3707b41d48d0a3a (diff)
dbus: complete exec status coverage
Diffstat (limited to 'src/dbus-service.c')
-rw-r--r--src/dbus-service.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dbus-service.c b/src/dbus-service.c
index 84c4730ce5..26524f402c 100644
--- a/src/dbus-service.c
+++ b/src/dbus-service.c
@@ -38,6 +38,7 @@
" <property name=\"RootDirectoryStartOnly\" type=\"b\" access=\"read\"/>\n" \
" <property name=\"ValidNoProcess\" type=\"b\" access=\"read\"/>\n" \
" <property name=\"KillMode\" type=\"s\" access=\"read\"/>\n" \
+ BUS_EXEC_STATUS_INTERFACE("ExecMain") \
" <property name=\"MainPID\" type=\"u\" access=\"read\"/>\n" \
" <property name=\"ControlPID\" type=\"u\" access=\"read\"/>\n" \
" <property name=\"SysVStartPriority\" type=\"i\" access=\"read\"/>\n" \
@@ -77,7 +78,7 @@ DBusHandlerResult bus_service_message_handler(Unit *u, DBusConnection *connectio
{ "org.freedesktop.systemd1.Service", "RootDirectoryStartOnly", bus_property_append_bool, "b", &u->service.root_directory_start_only },
{ "org.freedesktop.systemd1.Service", "ValidNoProcess", bus_property_append_bool, "b", &u->service.valid_no_process },
{ "org.freedesktop.systemd1.Service", "KillMode", bus_unit_append_kill_mode, "s", &u->service.kill_mode },
- /* MainExecStatus */
+ BUS_EXEC_STATUS_PROPERTIES("org.freedesktop.systemd1.Service", u->service.main_exec_status, "ExecMain"),
{ "org.freedesktop.systemd1.Service", "MainPID", bus_property_append_pid, "u", &u->service.main_pid },
{ "org.freedesktop.systemd1.Service", "ControlPID", bus_property_append_pid, "u", &u->service.control_pid },
{ "org.freedesktop.systemd1.Service", "SysVPath", bus_property_append_string, "s", u->service.sysv_path },