On 2011-01-17, Richard W.M. Jones <rjo...@redhat.com> wrote:
>
> Now when you send a signal to the watchdog daemon, it can take several
> seconds to shut down.

I hope systemd and similar inits running daemons on foreground solve
this problem simply by waiting for the child's PID.

> So I don't know how to fix that one.  Any suggestions?
>
I met this problem in `dibbler' code (http://klub.com.pl/dhcpv6/). I solved
it by ptracing the daemon, sending signal, and waiting for the daemond
exit using ptrace.

-- Petr

-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Reply via email to