From: Andrey Borzenkov Date: Thu, 17 Mar 2011 20:22:49 +0000 (+0300) Subject: dbus: add service D-Bus property "Sockets" X-Git-Tag: v21~52 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=893844ed434e35e6227e0b17c16b7047360170e2;p=systemd dbus: add service D-Bus property "Sockets" --- diff --git a/src/dbus-service.c b/src/dbus-service.c index 4ba3891b..9c3d73cb 100644 --- a/src/dbus-service.c +++ b/src/dbus-service.c @@ -58,6 +58,7 @@ " \n" \ " \n" \ " \n" \ + " \n" \ BUS_SERVICE_SYSV_INTERFACE_FRAGMENT \ " \n" @@ -118,6 +119,7 @@ DBusHandlerResult bus_service_message_handler(Unit *u, DBusConnection *connectio { "org.freedesktop.systemd1.Service", "ControlPID", bus_property_append_pid, "u", &u->service.control_pid }, { "org.freedesktop.systemd1.Service", "BusName", bus_property_append_string, "s", u->service.bus_name }, { "org.freedesktop.systemd1.Service", "StatusText", bus_property_append_string, "s", u->service.status_text }, + { "org.freedesktop.systemd1.Service", "Sockets", bus_unit_append_dependencies, "as", u->service.configured_sockets }, #ifdef HAVE_SYSV_COMPAT { "org.freedesktop.systemd1.Service", "SysVRunLevels", bus_property_append_string, "s", u->service.sysv_runlevels }, { "org.freedesktop.systemd1.Service", "SysVStartPriority", bus_property_append_int, "i", &u->service.sysv_start_priority },