From 1bf7912b8c56c0f26eca96b61d14181ebef40628 Mon Sep 17 00:00:00 2001 From: Ron Waldon-Howe Date: Sat, 7 Dec 2024 11:08:46 +1100 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Change=20the=20default=20address?= =?UTF-8?q?=20to=20listen=20upon?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit For UNIX systems, the default is now $XDG_RUNTIME_DIR/dbus-$RANDOM --- src/bus/mod.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/bus/mod.rs b/src/bus/mod.rs index b8f6280..fc686dd 100644 --- a/src/bus/mod.rs +++ b/src/bus/mod.rs @@ -258,9 +258,8 @@ fn default_address() -> String { .join("user") .join(format!("{}", nix::unistd::Uid::current())) }); - let path = runtime_dir.join("busd-session"); - format!("unix:path={}", path.display()) + format!("unix:dir={}", runtime_dir.display()) } #[cfg(not(unix))]