Debian Codegraph @

man/systemd-stdio-bridge.xml

raw
1 <?xml version='1.0'?> <!--*-nxml-*-->
2 <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
4 <!-- SPDX-License-Identifier: LGPL-2.1-or-later -->
5
6 <refentry id="systemd-stdio-bridge"
7 xmlns:xi="http://www.w3.org/2001/XInclude">
8
9 <refentryinfo>
10 <title>systemd-stdio-bridge</title>
11 <productname>systemd</productname>
12 </refentryinfo>
13
14 <refmeta>
15 <refentrytitle>systemd-stdio-bridge</refentrytitle>
16 <manvolnum>1</manvolnum>
17 </refmeta>
18
19 <refnamediv>
20 <refname>systemd-stdio-bridge</refname>
21 <refpurpose>D-Bus proxy</refpurpose>
22 </refnamediv>
23
24 <refsynopsisdiv>
25 <cmdsynopsis>
26 <command>systemd-stdio-bridge</command>
27 <arg choice="opt" rep="repeat">OPTIONS</arg>
28 </cmdsynopsis>
29 </refsynopsisdiv>
30
31 <refsect1>
32 <title>Description</title>
33
34 <para><command>systemd-stdio-bridge</command> implements a proxy between STDIN/STDOUT and a D-Bus bus. It
35 expects to receive an open connection via STDIN/STDOUT when started, and will create a new connection to
36 the specified bus. It will then forward messages between the two connections. This program is suitable
37 for socket activation: the first connection may be a pipe or a socket and must be passed as either
38 standard input, or as an open file descriptor according to the protocol described in
39 <citerefentry><refentrytitle>sd_listen_fds</refentrytitle><manvolnum>3</manvolnum></citerefentry>. The
40 second connection will be made by default to the local system bus, but this can be influenced by the
41 <option>--user</option>, <option>--system</option>, <option>--machine=</option>, and
42 <option>--bus-path=</option> options described below.</para>
43
44 <para><citerefentry><refentrytitle>sd-bus</refentrytitle><manvolnum>3</manvolnum></citerefentry> uses
45 <command>systemd-stdio-bridge</command> to forward D-Bus connections over
46 <citerefentry project='man-pages'><refentrytitle>ssh</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
47 or to connect to the bus of a different user, see
48 <citerefentry><refentrytitle>sd_bus_set_address</refentrytitle><manvolnum>3</manvolnum></citerefentry>.
49 </para>
50 </refsect1>
51
52 <refsect1>
53 <title>Options</title>
54
55 <para>The following options are understood:</para>
56
57 <variablelist>
58 <xi:include href="user-system-options.xml" xpointer="user" />
59 <xi:include href="user-system-options.xml" xpointer="system" />
60 <xi:include href="user-system-options.xml" xpointer="machine" />
61
62 <varlistentry>
63 <term><option>-p <replaceable>PATH</replaceable></option></term>
64 <term><option>--bus-path=<replaceable>PATH</replaceable></option></term>
65
66 <listitem><para>Path to the bus address. Default: <literal>unix:path=/run/dbus/system_bus_socket</literal>
67 </para>
68
69 <xi:include href="version-info.xml" xpointer="v251"/></listitem>
70 </varlistentry>
71
72 <varlistentry>
73 <term><option>-q</option></term>
74 <term><option>--quiet</option></term>
75
76 <listitem><para>Suppresses error logging on failure.</para>
77
78 <xi:include href="version-info.xml" xpointer="v259"/></listitem>
79 </varlistentry>
80
81 <xi:include href="standard-options.xml" xpointer="help" />
82 <xi:include href="standard-options.xml" xpointer="version" />
83 </variablelist>
84 </refsect1>
85
86 <refsect1>
87 <title>Exit status</title>
88
89 <para>On success, 0 is returned, a non-zero failure code otherwise.</para>
90 </refsect1>
91
92 <refsect1>
93 <title>See Also</title>
94 <para><simplelist type="inline">
95 <member><citerefentry project='dbus'><refentrytitle>dbus-daemon</refentrytitle><manvolnum>1</manvolnum></citerefentry></member>
96 <member><citerefentry project='dbus'><refentrytitle>dbus-broker</refentrytitle><manvolnum>1</manvolnum></citerefentry></member>
97 <member><ulink url="https://www.freedesktop.org/wiki/Software/dbus">D-Bus</ulink></member>
98 <member><citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry></member>
99 </simplelist></para>
100 </refsect1>
101
102 </refentry>