From 2dc38ed00fe5c9179721411ba068b53ea127d476 Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Sat, 21 Dec 2013 13:58:14 -0500 Subject: man: add systemd-dbus-proxy@.service(8) and systemd-dbus.proxy(8) --- Makefile-man.am | 12 ++++ man/systemd-bus-proxyd.xml | 121 ++++++++++++++++++++++++++++++++++++ man/systemd-bus-proxyd@.service.xml | 81 ++++++++++++++++++++++++ src/bus-proxyd/bus-proxyd.c | 2 +- 4 files changed, 215 insertions(+), 1 deletion(-) create mode 100644 man/systemd-bus-proxyd.xml create mode 100644 man/systemd-bus-proxyd@.service.xml diff --git a/Makefile-man.am b/Makefile-man.am index c5f73d42e3..bdfecb3db5 100644 --- a/Makefile-man.am +++ b/Makefile-man.am @@ -48,6 +48,7 @@ MANPAGES += \ man/systemd-analyze.1 \ man/systemd-ask-password-console.service.8 \ man/systemd-ask-password.1 \ + man/systemd-bus-proxyd.8 \ man/systemd-cat.1 \ man/systemd-cgls.1 \ man/systemd-cgtop.1 \ @@ -683,6 +684,17 @@ man/systemd-hostnamed.html: man/systemd-hostnamed.service.html endif +if ENABLE_KDBUS +MANPAGES += \ + man/systemd-bus-proxyd@.service.8 +MANPAGES_ALIAS += \ + man/systemd-bus-proxyd.socket.8 +man/systemd-bus-proxyd.socket.8: man/systemd-bus-proxyd@.service.8 +man/systemd-bus-proxyd.socket.html: man/systemd-bus-proxyd@.service.html + $(html-alias) + +endif + if ENABLE_LOCALED MANPAGES += \ man/localectl.1 \ diff --git a/man/systemd-bus-proxyd.xml b/man/systemd-bus-proxyd.xml new file mode 100644 index 0000000000..c90ae12e29 --- /dev/null +++ b/man/systemd-bus-proxyd.xml @@ -0,0 +1,121 @@ + + + + + + + + + systemd-bus-proxyd + systemd + + + + Developer + Lennart + Poettering + lennart@poettering.net + + + + + + systemd-bus-proxyd + 8 + + + + systemd-bus-proxyd + Connect STDIO or a socket to a given bus address + + + + + /usr/lib/systemd/systemd-bus-proxyd + OPTIONS + PLACEHOLDER + + + + + Description + + systemd-bus-proxyd will proxy D-Bus + messages to and from a bus. The will be either the system bus or + the bus specified with when that option + is given. Messages will be proxied to/from stdin and stdout, or + the socket received through socket activation. + + This program can be used to connect a program using classic + D-Bus to kdbus. + + + + Options and Arguments + + The following options are understood: + + + + + + + Connect to the bus specified by + ADDRESS. Multiple colon-seperated + addresses can be specified, in which case + systemd-bus-proxyd will attempt to + connect to them in turn. + + + + + + + + Prints a short version string and exits. + + + + + + + + Prints a short help + text and exits. + + + + PLACEHOLDER if given must be a string + of x and will be used to display information about + the process that systemd-bus-proxyd is forwarding + messages for. + + + + See Also + + + dbus-daemon1 + D-Bus + kdbus + + + diff --git a/man/systemd-bus-proxyd@.service.xml b/man/systemd-bus-proxyd@.service.xml new file mode 100644 index 0000000000..75a3c8bc4f --- /dev/null +++ b/man/systemd-bus-proxyd@.service.xml @@ -0,0 +1,81 @@ + + + + + + + + + systemd-bus-proxyd@.service + systemd + + + + Developer + Lennart + Poettering + lennart@poettering.net + + + + + + systemd-bus-proxyd@.service + 8 + + + + systemd-bus-proxyd@.service + systemd-bus-proxyd.socket + Proxy classic D-Bus clients to kdbus + + + + systemd-bus-proxyd@.service + systemd-bus-proxyd.socket + + + + Description + + systemd-bus-proxyd.socket will launch + systemd-bus-proxyd@.service for connections + to the classic D-Bus socket in + /run/dbus/system_bus_socket. + + systemd-bus-proxyd@.service is launched + for an existing D-Bus connection and will use + systemd-bus-proxyd to proxy messages from this + connection to the system bus (either kdbus or classic D-Bus). + + + + + See Also + + + systemd-bus-proxyd8 + dbus-daemon1 + D-Bus + kdbus + + + diff --git a/src/bus-proxyd/bus-proxyd.c b/src/bus-proxyd/bus-proxyd.c index 2944596b09..80d21203ed 100644 --- a/src/bus-proxyd/bus-proxyd.c +++ b/src/bus-proxyd/bus-proxyd.c @@ -85,7 +85,7 @@ static int parse_argv(int argc, char *argv[]) { assert(argc >= 0); assert(argv); - while ((c = getopt_long(argc, argv, "hsup:", options, NULL)) >= 0) { + while ((c = getopt_long(argc, argv, "h", options, NULL)) >= 0) { switch (c) { -- cgit v1.2.3-54-g00ecf