commands.sh

systemd-stdio-bridge

linux

Implement a proxy between `stdin`/`stdout` and a D-Bus. Note: It expects to receive an open connection via `stdin`/`stdout` when started, and will create a new connection to the specified bus.

More info →

Options (2)

-M, --machineboolean

Forward `stdin`/`stdout` to the local system bus within a specific container

Example: systemd-stdio-bridge {{[-M|--machine]}} {{mycontainer}}
-p, --bus-pathboolean

Forward `stdin`/`stdout` to a custom D-Bus address

Example: systemd-stdio-bridge {{[-p|--bus-path]}} unix:path=/{{path/to/dbus_socket}}

Examples (4)

Forward `stdin`/`stdout` to the local system bus

Forward `stdin`/`stdout` to a specific user's D-Bus

Forward `stdin`/`stdout` to the local system bus within a specific container

systemd-stdio-bridge [-M|--machine] mycontainer

Forward `stdin`/`stdout` to a custom D-Bus address

systemd-stdio-bridge [-p|--bus-path] unix:path=/path/to/dbus_socket
made by @shridhargupta | data from tldr-pages