Use the system bus.

Added a dbus service file so we can own the
com.steampowered.SteamOSManager1 name.
Also added a systemd service file
Also add a dbus .conf file to allow any process to talk
to manager for now.
This commit is contained in:
Jeremy Whiting 2023-10-09 10:55:52 -06:00
parent dee6376309
commit 741c5b5ce4
4 changed files with 29 additions and 1 deletions

View file

@ -35,7 +35,7 @@ async fn main() -> Result<()>
let manager = manager::SMManager {};
let _system_connection = ConnectionBuilder::session()?
let _system_connection = ConnectionBuilder::system()?
.name("com.steampowered.SteamOSManager1")?
.serve_at("/com/steampowered/SteamOSManager1", manager)?
.build()