Mail Archives: cygwin/2005/08/16/08:16:49
----Original Message----
>From: Igor Pechtchanski
>Sent: 16 August 2005 02:22
> On Thu, 11 Aug 2005, Herb Martin wrote:
>> Or must such services be stopped and restarted completely?
>
> Yes, but you'll need to send SIGHUP to the program process, and not to the
> corresponding cygrunsrv process, since, IIRC, cygrunsrv itself will
> unconditionally terminate the child daemon on SIGHUP (and SIGTERM, and
> SIGQUIT, and SIGINT).
>
> Corinna, perhaps cygrunsrv should pass explicit SIGHUPs to the child
> instead (unless --termsig is HUP)? Or, better yet, pass the signal to
> send as an argument to terminate_child()?
I think that if someone wants to send a signal to the child, they should
send it to the child, and if someone wants to send a signal to the parent,
they should send it to the parent, and I don't think cygrunsrv should try to
second guess them.
And stop calling me Corinna!
cheers,
DaveK
--
Can't think of a witty .sigline today....
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -