Modify the path to match the env
[platform/core/connectivity/bluetooth-tools.git] / scripts / bt-stack-up.sh
index ed5c9e2..ad80079 100644 (file)
@@ -19,7 +19,7 @@ echo "Run bluetoothd"
 if [ -d /sys/fs/cgroup/systemd ]; then
    # bt-service changes USER to 'app' via libprivilege-control, so it needs
    # to know where the session bus is located under systemd
-   export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/app/dbus/user_bus_socket
+   export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/5000/dbus/user_bus_socket
 else
    # Under systemd, bluetoothd is dbus activated. sysvinit requires it to be
    # launched explicitly