Updated DBus service (markdown)

John Freed 2021-09-14 20:28:40 +02:00
parent d615038a81
commit abc6f559b0

@ -58,7 +58,7 @@ ps auxw|grep dbus|grep $(whoami)|grep session
If it is running, you can rely on the notion that the most recent listener in /private/tmp is assigned to this version of dbus. (This might not be 100% reliable in the future, so proceed at your own risk.) Use the command:
```
export DBUS_LAUNCHD_SESSION_BUS_SOCKET=$(find /private/tmp -type s -name unix_domain_listener -print0 | xargs -0 ls -rt|tail -n 1)
export DBUS_LAUNCHD_SESSION_BUS_SOCKET=$(find /private/tmp -user $(whoami) -type s -name unix_domain_listener -print0 | xargs -0 ls -rt|tail -n 1)
```
**Case 2: dbus is not running**