how to restart dbus-daemon
krzysztof.konopko at youview.com
Fri Feb 1 01:34:10 PST 2013
What do you mean by "parent process"?
Use pstree -ps fpr the dbus-daemon process and for your "parent" process
(whichever it is) to learn the relationships.
Why do you ever want to do this? If this is because you've changed the
configuration, then send SIGHUP. If the configuration changes can be
picked up by the daemon without kicking everyone off the bus, then
you're done. Otherwise you need to reboot the system.
On 01/02/13 03:44, Soho Soho123 wrote:
> Hi All,
> I got the trouble when I try to restart dbus-daemon.
> the steps I used :
> 1. kill -SIGTERM <dbus daemon pid>
> 2. dbus-daemon --config-file=/etc/dbus-1/system.conf
> in my process,
> I use the code to finish:
> system("kill -SIGTERM <dbus daemon pid>");
> system("dbus-daemon --config-file=/etc/dbus-1/system.conf");
> it is very strange,
> the first step :
> system("kill -SIGTERM <dbus daemon pid>"); ====> it will cause the
> parent process receive terminate signal.
> Does someone have any idea about this issue?
> Because I just send terminate to dbus daemon, the parent process
> should keep running,
> Best Regards,
> dbus mailing list
> dbus at lists.freedesktop.org
More information about the dbus