Skip to content

Commit

Permalink
🔧 Change the default address to listen upon
Browse files Browse the repository at this point in the history
For UNIX systems, the default is now $XDG_RUNTIME_DIR/dbus-$RANDOM
  • Loading branch information
jokeyrhyme committed Dec 7, 2024
1 parent 8d67580 commit 1bf7912
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/bus/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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))]
Expand Down

0 comments on commit 1bf7912

Please sign in to comment.