From 28a2d088153e9b89b77cfb56a59ee998d5176676 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Wed, 8 Dec 2010 22:49:30 +0000 Subject: [PATCH] Add launchd section to specification. --- doc/dbus-specification.xml | 51 ++++++++++++++++++++++++++++++++++++-- 1 file changed, 49 insertions(+), 2 deletions(-) diff --git a/doc/dbus-specification.xml b/doc/dbus-specification.xml index c73458742..56ba7fa13 100644 --- a/doc/dbus-specification.xml +++ b/doc/dbus-specification.xml @@ -2464,8 +2464,8 @@ [FIXME we need to specify in detail each transport and its possible arguments] Current transports include: unix domain sockets (including - abstract namespace on linux), TCP/IP, and a debug/testing transport using - in-process pipes. Future possible transports include one that + abstract namespace on linux), launchd, TCP/IP, and a debug/testing transport + using in-process pipes. Future possible transports include one that tunnels over X11 protocol. @@ -2524,6 +2524,53 @@ + + launchd + + launchd is a open-source server management system that replaces init, inetd + and cron on Apple Mac OS X versions 10.4 and above. It provides a common session + bus address for each user and deprecates the X11-enabled D-Bus launcher on OSX. + + + + launchd allocates a socket and provides it with the unix path through the + DBUS_LAUNCHD_SESSION_BUS_SOCKET variable in launchd's environment. Every process + spawned by launchd (or dbus-daemon, if it was started by launchd) can access + it through its environment. + Other processes can query for the launchd socket by executing: + $ launchctl getenv DBUS_LAUNCHD_SESSION_BUS_SOCKET + This is normally done by the D-Bus client library so doesn't have to be done + manually. + + + launchd is not available on Microsoft Windows. + + + Server Address Format + + launchd addresses are identified by the "launchd:" prefix + and support the following key/value pairs: + + + + + + Name + Values + Description + + + + + env + (environment variable) + path of the unix domain socket for the launchd created dbus-daemon. + + + + + + TCP Sockets -- 2.47.3