Files
tldr/pages.zh/linux/systemd-stdio-bridge.md

21 lines
749 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# systemd-stdio-bridge
> 实现一个在 `stdin`/`stdout` 和 D-Bus 之间的代理。
> 注意:它在启动时期望通过 `stdin`/`stdout` 接收一个打开的连接,并将创建一个与指定总线的新连接。
> 更多信息:<https://www.freedesktop.org/software/systemd/man/latest/systemd-stdio-bridge.html>。
-`stdin`/`stdout` 转发到本地系统总线:
`systemd-stdio-bridge`
-`stdin`/`stdout` 转发到特定用户的 D-Bus
`systemd-stdio-bridge --{{user}}`
-`stdin`/`stdout` 转发到特定容器内的本地系统总线:
`systemd-stdio-bridge --machine={{mycontainer}}`
-`stdin`/`stdout` 转发到自定义 D-Bus 地址:
`systemd-stdio-bridge --bus-path=unix:path={{/custom/dbus/socket}}`