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: Thu, 30 Sep 2004 17:35:43 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: [PATCH] cygrunsrv --recovery Message-ID: <20040930153543.GC29206@cygbert.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <42404 DOT 193 DOT 16 DOT 155 DOT 145 DOT 1096475468 DOT squirrel AT webmail DOT kainz DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <42404.193.16.155.145.1096475468.squirrel@webmail.kainz.com> User-Agent: Mutt/1.4.2i On Sep 29 18:31, Rainer Hochreiter wrote: > the attached patch implements the options -r or --recovery to set service > failure actions. allowed actions are 'none', 'boot' or 'restar'. > not implemented are actions for running commands on failed actions, like > supported by the windows SCM. > > the patch also uses ChangeServiceConfig2() for setting the description of > the installed service. Thanks for the patch, but I can't apply it as it is, mainly for two reasons. > not included is the ChangeLog of the patch! - This is reason one. - Please don't use ChangeServiceConfig2. It will break running cygrunsrv on NT4. That's the reason the description is written directly to the registry instead of using ChangeServiceConfig2. Also, what's the reason you didn't implement running commands? I'm asking because there are still these `#if 0' parts left in your patch which point to the fact that you began to implement it but just stopped at one point. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader mailto:cygwin AT cygwin DOT com Red Hat, Inc. -- 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/