Files
tldr/pages.zh/linux/dbus-daemon.md

28 lines
661 B
Markdown
Raw Permalink 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.

# dbus-daemon
> D-Bus 消息守护进程,允许多个程序交换消息。
> 更多信息:<https://www.freedesktop.org/wiki/Software/dbus/>。
- 使用配置文件运行守护进程:
`dbus-daemon --config-file {{path/to/file}}`
- 使用标准的每个登录会话消息总线配置运行守护进程:
`dbus-daemon --session`
- 使用标准的系统范围消息总线配置运行守护进程:
`dbus-daemon --system`
- 设置要监听的地址并覆盖其配置值:
`dbus-daemon --address {{address}}`
- 将进程 ID 输出到 `stdout`
`dbus-daemon --print-pid`
- 强制消息总线将消息写入系统日志:
`dbus-daemon --syslog`