delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2001/05/22/13:33:35

Mailing-List: contact cygwin-apps-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-apps-owner AT sourceware DOT cygnus DOT com
List-Subscribe: <mailto:cygwin-apps-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-apps/>
List-Post: <mailto:cygwin-apps AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-apps-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/lists.html#faqs>
Delivered-To: mailing list cygwin-apps AT sources DOT redhat DOT com
Date: Tue, 22 May 2001 19:23:59 +0200
From: Corinna Vinschen <cygwin-apps AT cygwin DOT com>
To: cygapp <cygwin-apps AT cygwin DOT com>
Subject: Re: cygrunsrv logging OK; patch to --args handling
Message-ID: <20010522192359.O27460@cygbert.vinschen.de>
Mail-Followup-To: cygapp <cygwin-apps AT cygwin DOT com>
References: <3B09511A DOT 61C383B AT ontosys DOT com> <20010521213404 DOT Q8783 AT cygbert DOT vinschen DOT de> <3B0A99E7 DOT 2E76F222 AT ontosys DOT com>
Mime-Version: 1.0
User-Agent: Mutt/1.2.5i
In-Reply-To: <3B0A99E7.2E76F222@ontosys.com>; from fcy@ontosys.com on Tue, May 22, 2001 at 11:55:03AM -0500

On Tue, May 22, 2001 at 11:55:03AM -0500, Fred Yankowski wrote:
> OT: The code to handle quotes in the --args value didn't work for me
> until I applied the attached small patch.  I've tested it in a few
> cases, but it deserves a careful inspection.

Thanks for that patch. After testing that feature I have later
"optimized" the code without testing it again...

> With this change, cygrunsrv does a good job of wrapping a PostgreSQL
> service, except for the NT-shutdown case (which I haven't tested yet). 
> Here is how I'm setting up that service:
> 
>     /usr/local/src/cygrunsrv-cvs/cygrunsrv.exe --install postmaster2 \
> 	--path /usr/local/pgsql/bin/postmaster \
> 	--args "-D /usr/local/pgsql/data -i -d 2 -o '-o /var/log/postgres.log'"
> \
> 	--dep ipc-daemon --termsig INT --user postgresql
> 
> I was using --stderr too, but the default works just as well.

Good to here. Thanks for testing. Do you think we should release
the current state then?

> 	* cygrunsrv.cc (eval_arglist): Fix handling of quoted options.

BTW, it's ok just to send that new entry to the ChangeLog ;-)

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

- Raw text -


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