feat(dbus): simplify the way to provide unix address for dbus.
This commit is contained in:
parent
f360d12ec1
commit
03406096ce
4 changed files with 11 additions and 31 deletions
|
|
@ -4,9 +4,7 @@
|
|||
|
||||
abi <abi/4.0>,
|
||||
|
||||
unix (bind, listen) type=stream addr="@/tmp/dbus-*",
|
||||
unix (connect, send, receive, accept) type=stream addr="@/tmp/dbus-*",
|
||||
unix (connect, send, receive, accept) type=stream peer=(addr="@/tmp/dbus-*"),
|
||||
unix bind type=stream addr=@@{udbus}/bus/@{profile_name}/session,
|
||||
|
||||
dbus send bus=session path=/org/freedesktop/DBus
|
||||
interface=org.freedesktop.DBus
|
||||
|
|
|
|||
|
|
@ -4,6 +4,8 @@
|
|||
|
||||
abi <abi/4.0>,
|
||||
|
||||
unix bind type=stream addr=@@{udbus}/bus/@{profile_name}/system,
|
||||
|
||||
dbus send bus=system path=/org/freedesktop/DBus
|
||||
interface=org.freedesktop.DBus
|
||||
member={Hello,AddMatch,RemoveMatch,GetNameOwner,NameHasOwner,StartServiceByName}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue