How to start any D-Bus service automatically
Olaf Brandt
obcsystems at t-online.de
Fri Apr 18 09:13:28 PDT 2008
Hi,
please post your .service file.
Is there any Exception thrown by the DBus while calling the method from
the client application ?
Restarting the box is not neccesary. The bus will search for .service
files any time you call a method with a not known bus-name.
Olaf
sumeet.pawnikar at wipro.com schrieb:
>
> Hello,
>
> We are working on D-Bus over Ubuntu Linux.
>
> We have one requirement to be met, which is explained in detail as below.
>
> Suppose a D-BUS service, provides certain methods, but is not
> currently running.
>
> One client application wants to access one of the methods provided by
> the service,
>
> and at that time only this service should start executing as a daemon.
>
> Is there any D-BUS functionality using which we can achieve this goal.
>
>
>
> I wrote a ".service" file at "/usr/share/dbus-1/services" and
> restarted the linux.
>
> Then, I tried to call one of the D-Bus method of that service.
>
> But, still this service doesn't start automatically.
>
>
>
> Can you please guide us on how can it be implemented?
>
>
>
> Thank you in advance.
>
> Best Regards,
>
> Sumeet Pawnikar
>
> * Please do not print this email unless it is absolutely necessary. *
>
> The information contained in this electronic message and any
> attachments to this message are intended for the exclusive use of the
> addressee(s) and may contain proprietary, confidential or privileged
> information. If you are not the intended recipient, you should not
> disseminate, distribute or copy this e-mail. Please notify the sender
> immediately and destroy all copies of this message and any attachments.
>
> WARNING: Computer viruses can be transmitted via email. The recipient
> should check this email and any attachments for the presence of
> viruses. The company accepts no liability for any damage caused by any
> virus transmitted by this email.
>
> www.wipro.com
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> dbus mailing list
> dbus at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dbus
>
More information about the dbus
mailing list