add dbus system bus
This commit is contained in:
parent
2025acce73
commit
9d354c837e
@ -7,7 +7,9 @@ mkdir -p "${chrome_dir}"
|
|||||||
|
|
||||||
if [[ "${DBUS_SESSION_BUS_ADDRESS}test" == "test" ]]
|
if [[ "${DBUS_SESSION_BUS_ADDRESS}test" == "test" ]]
|
||||||
then
|
then
|
||||||
export DBUS_SESSION_BUS_ADDRESS="unix:path=${temp_dir}/dbus.sock"
|
export DBUS_SYSTEM_BUS_ADDRESS="unix:path=${temp_dir}/dbus-system.sock"
|
||||||
|
export DBUS_SESSION_BUS_ADDRESS="unix:path=${temp_dir}/dbus-session.sock"
|
||||||
|
dbus-daemon --system --address="${DBUS_SYSTEM_BUS_ADDRESS}" &
|
||||||
dbus-daemon --session --address="${DBUS_SESSION_BUS_ADDRESS}" &
|
dbus-daemon --session --address="${DBUS_SESSION_BUS_ADDRESS}" &
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user