dbus2 / zbus

Rust D-Bus crate.
Other
359 stars 82 forks source link

Does zbus works with systemd socket activation on remote host? #852

Closed johnnypea closed 3 months ago

johnnypea commented 3 months ago

Can somebody please provide working example starting the zbus server instance on socket activation?

zbus server running as systemd service on Host1

zbus client running on Host2 connecting to TCP socket on Host1

Is this possible using peer to peer connection? Thank you.

zeenix commented 3 months ago

This is completely out of scope of zbus. If you use the D-Bus broker, your distro package setup everything for you. If you use peer-to-peer, you need to install the systemd socket file in the appropriate location.

In any case, it's not something zbus can possibly help with.