start multiple instance of the same service ?
hp at redhat.com
Thu Sep 14 06:21:51 PDT 2006
frederic heem wrote:
> Is there a way to start multiple instance of the same service ?
> It seems that at the moment, only one instance of the service is started by
> the daemon.
> The requirement is that a client get a new proxy given the name of the
> service, not the object name. The daemon shall be able to start one service
> per client, not one service for all clients.
> For example, let's say that a packet capture service is called dumpcap, many
> clients shall be able to request this service, for examples, one captures on
> eth0 and the other one on eth1. Each clients needs its own dumpcap process,
> sharing the process is not possible without rewriting dumpcap.
> Is it already possible or is it something that require modifying dbus itself ?
It's not possible. But you could have a service factory service perhaps,
that starts a dumpcap for each network interface.
More information about the dbus