Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 22:16:02 -0400 (EDT) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: Herb Martin cc: cygwin AT cygwin DOT com Subject: RE: Remove cygwin services Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Fri, 12 Aug 2005, Herb Martin wrote: > It might help (pure speculation) to enable one of the "signals" > when creating Cygwin-Apps as services. This way the "stop" > will include a HUP or TERM. $ cygrunsrv --help 2>&1 | grep -C2 'HUP' -s, --termsig Optional signal to send to service application when service is stopped. can be a number or a signal name such as HUP, INT, QUIT, etc. Default is TERM. -y, --dep Optional name of service that must be started As you can see, cygrunsrv sends SIGTERM to processes by default when the service is stopped. 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/