add dbus system bus

This commit is contained in:
Roy Olav Purser 2021-06-15 15:13:50 +02:00
parent 2025acce73
commit 9d354c837e
Signed by: roypur
GPG Key ID: E14D26A036F21656

View File

@ -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