Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com X-Originating-IP: [216.135.220.54] From: "Karl M" To: fred AT ontosys DOT com, pgarceau AT qwest DOT net Cc: cygwin AT cygwin DOT com Subject: Re: Cygwin service doesn't get NT shutdown notification Date: Fri, 27 Apr 2001 09:49:27 -0700 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 27 Apr 2001 16:49:27.0781 (UTC) FILETIME=[05BEB150:01C0CF3A] Hi All... >I've used that configuration -- well, actually, I used the similar >'invoker' wrapper -- but neither srvany nor invoker seems to provide >any way to do a soft shutdown of the controlled service process. >Also, srvany is not freely available (as you mention later). > >If I can't get this to work correctly in Cygwin, I may just write a >wrapper similar to srvany that would call a user-specified program in >the event of the stop or shutdown notifications, giving the managed >service process a chance to shutdown gracefully. This may be the same fork/detach issue that I had with sshd as a service. See the recent Re: Invoker Question thread. It may be helpful. Thanks, ...Karl _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple