Killing of deamon
John (J5) Palmieri
johnp at redhat.com
Tue May 6 08:28:36 PDT 2008
On Tue, 2008-05-06 at 11:18 +0200, Thiago Macieira wrote:
> On Tuesday 06 May 2008 10:34:53 vasanth raj wrote:
> > hi all
> >
> > can any one tell me how to kill deamon without closing the application is
> > there any other means to kill the deamon.
> >
> > please do help me out with this regrads
>
> Don't kill the session or system bus daemons. Many applications will exit if
> you do that. Most applications aren't designed to cope with a restarting bus.
However in your own application you can set use the
dbus_connection_set_exit_on_disconnect API. Note that D-Bus is often
used for session management so if you do set this and the session exits
there is a chance your app won't depending on how it was launched.
--
John (J5) Palmieri <johnp at redhat.com>
More information about the dbus
mailing list