mirror of
https://github.com/AsamK/signal-cli.git
synced 2026-05-27 14:44:16 +00:00
Updated DBus service (markdown)
parent
0d964618c4
commit
abd2ece26f
@ -12,6 +12,8 @@ signal-cli can run in daemon mode and provides an experimental dbus interface.
|
||||
|
||||
### MacOS
|
||||
|
||||
==== MacOS and signal-cli
|
||||
|
||||
MacOS users can run the following commands if needed:
|
||||
|
||||
```shell
|
||||
@ -37,6 +39,18 @@ brew services restart dbus
|
||||
export DBUS_LAUNCHD_SESSION_BUS_SOCKET=$(launchctl getenv DBUS_LAUNCHD_SESSION_BUS_SOCKET)
|
||||
```
|
||||
|
||||
Note that this will work only from a normal Macintosh desktop session.
|
||||
|
||||
==== MacOS and dbus-send
|
||||
|
||||
In order for `dbus-send` to work correctly, it needs to either be started from a terminal within a normal Mac desktop session, or it needs to have the environment variable `DBUS_SESSION_BUS_ADDRESS` set correctly.
|
||||
|
||||
The command to set the environment variable is:
|
||||
|
||||
```
|
||||
export DBUS_SESSION_BUS_ADDRESS=unix:path=$DBUS_LAUNCHD_SESSION_BUS_SOCKET
|
||||
```
|
||||
|
||||
### System bus
|
||||
|
||||
To run on the system bus you need to take some additional steps.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user