DBusGProxy for system services

Colin Walters walters at verbum.org
Tue Feb 9 17:54:17 PST 2010

On Tue, Feb 9, 2010 at 2:50 PM, Ville M. Vainio <vivainio at gmail.com> wrote:
> On Tue, Feb 9, 2010 at 4:33 PM, Ali Abdallah <aliov at xfce.org> wrote:
>> What is the correct way to get a proxy for a service name, activate it
>> if it is not already running? returns NULL if the service name was not
>> provided by any .service file.
> Dbus activation should really be handled by dbus daemon and .service files.

Right, however if you just want to start a service for some side
effect of the process running, you can invoke the "StartServiceByName"
method on org.freedesktop.DBus.

See the spec:

More information about the dbus mailing list