diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-06-19 03:04:04 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-06-19 03:04:04 +0200 |
commit | 5e8d1c9a9f15b7453474dc4879bdb4021c3f50a1 (patch) | |
tree | ff305b07ce88ea21de22fc86b53c246e40d857c1 /src/dbus-service.c | |
parent | f9704703f35a281d9f8fa12018bd396b2be30d36 (diff) |
dbus: to make sure that systemd stays controllable during early bootup, register our services on our own micro usb server in addition to the bus
Diffstat (limited to 'src/dbus-service.c')
-rw-r--r-- | src/dbus-service.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dbus-service.c b/src/dbus-service.c index f70a77212c..283932c505 100644 --- a/src/dbus-service.c +++ b/src/dbus-service.c @@ -58,7 +58,7 @@ const char bus_service_interface[] = BUS_SERVICE_INTERFACE; static DEFINE_BUS_PROPERTY_APPEND_ENUM(bus_service_append_type, service_type, ServiceType); static DEFINE_BUS_PROPERTY_APPEND_ENUM(bus_service_append_restart, service_restart, ServiceRestart); -DBusHandlerResult bus_service_message_handler(Unit *u, DBusMessage *message) { +DBusHandlerResult bus_service_message_handler(Unit *u, DBusConnection *connection, DBusMessage *message) { const BusProperty properties[] = { BUS_UNIT_PROPERTIES, { "org.freedesktop.systemd1.Service", "Type", bus_service_append_type, "s", &u->service.type }, @@ -81,5 +81,5 @@ DBusHandlerResult bus_service_message_handler(Unit *u, DBusMessage *message) { { NULL, NULL, NULL, NULL, NULL } }; - return bus_default_message_handler(u->meta.manager, message, INTROSPECTION, properties); + return bus_default_message_handler(u->meta.manager, connection, message, INTROSPECTION, properties); } |