<div dir="auto">I am not that much clear about booting process, but I will explain what I want to do, please help me with this.<div dir="auto"><br></div><div dir="auto">My system has no login user except root. I logged in as root.</div><div dir="auto"><br></div><div dir="auto">I have an application called A1 which has to communicate to systemd to monitor other process such as A2 ,A3 and A4.</div><div dir="auto"><br></div><div dir="auto">Process A2, A3 ,A4 are communicating to A1 through session dbus. This is the implementation.</div><div dir="auto"><br></div><div dir="auto">But all process has to be started at boot time as services under user defined target levels which I know how to do.</div><div dir="auto"><br></div><div dir="auto">This is my requirement.</div><div dir="auto"><br></div><div dir="auto">My problem is iam not able to start  as service since when my application trying to get session dbus connection, it  is failing.</div><div dir="auto"><br></div><div dir="auto">I come to know that it is possible from your previous replies. But I don't know how to do that. Can you please help me this?</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Tue, 14 Aug 2018, 10:15 am Mantas Mikulėnas, <<a href="mailto:grawity@gmail.com">grawity@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Tue, Aug 14, 2018 at 7:21 AM deepan muthusamy <<a href="mailto:deepan.m2903@gmail.com" target="_blank" rel="noreferrer">deepan.m2903@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div dir="auto">I have an application which has to communicate with systemd to monitor other process and it has to communicate with other session applications , so my application is designed to communicate to both session dbus and system dbus. And also my application has to be started as service by systemd. How to do this?</div></div></blockquote><div><br></div><div>If it's a session application, why does it have to be started by systemd? That isn't a requirement for accessing the system bus; any application can access the system bus.</div></div><div><br></div>-- <br><div dir="ltr" class="m_-965656485143037891gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Mantas Mikulėnas</div></div></div>
</blockquote></div>