Files
cheatsheet-tldr/tldr/linux/dbus-daemon
2025-06-30 00:22:10 +00:00

34 lines
823 B
Plaintext

---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# dbus-daemon
> The D-Bus message daemon, allowing multiple programs to exchange messages.
> More information: <https://dbus.freedesktop.org/doc/dbus-daemon.1.html>.
- Run the daemon with a configuration file:
`dbus-daemon --config-file {{path/to/file}}`
- Run the daemon with the standard per-login-session message bus configuration:
`dbus-daemon --session`
- Run the daemon with the standard systemwide message bus configuration:
`dbus-daemon --system`
- Set the address to listen on and override the configuration value for it:
`dbus-daemon --address {{address}}`
- Output the process ID to `stdout`:
`dbus-daemon --print-pid`
- Force the message bus to write to the system log for messages:
`dbus-daemon --syslog`