delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/08/15/21:22:14

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Mon, 15 Aug 2005 21:21:38 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Herb Martin <HerbM AT learnquick DOT com>
cc: cygwin AT cygwin DOT com
Subject: RE: Anyone running spfd on Cygwin? (Attn: cygrunsrv maintainer)
Message-ID: <Pine.GSO.4.61.0508152105560.9560@slinky.cs.nyu.edu>
MIME-Version: 1.0

On Thu, 11 Aug 2005, Herb Martin wrote:

> > [mailto:cygwin-owner AT XXXXXX DOT XXX] On Behalf Of Brian Dessent
> > Sent: Wednesday, August 10, 2005 5:45 PM
> > To: cygwin AT XXXXXX DOT XXX
> > Subject: Re: Anyone running spfd on Cygwin?

<http://cygwin.com/acronyms/#PCYMTNQREAIYR>.  Thanks.

> [snip]
> Can a Cygwin program that is being run as a service be effectively sent
> a "HUP" to get it to re-read it's configuration?
>
> Assumptions:  That service accepts HUP and reloads its configuration
> when run as a daemon.
>
> 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()?
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA

--
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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019