<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">On Fri, Jan 18, 2019 at 1:19 AM Stanislav Angelovič <<a href="mailto:angelovic.s@gmail.com">angelovic.s@gmail.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto">Hi,<div dir="auto"><br></div><div dir="auto">In sd-bus, I guess it is possible to have a one-to-one connection between a service and a client, i.e. connection without D-bus daemon), am I right? If yes, is there any example (in systemd source tree or elsewhere) of sd-bus one-to-one communication usage that I could look at for inspiration and learning on how is that done?</div></div></blockquote><div><br></div><div>Yes, that's how `systemctl` works when it has privileges. See bus_connect_system_systemd() and bus_connect_user_systemd() in src/shared/bus-util.c.</div></div><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr">Mantas Mikulėnas</div></div></div></div></div>