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: List-Archive: List-Post: List-Help: , Delivered-To: mailing list cygwin-apps AT sources DOT redhat DOT com Date: Tue, 22 May 2001 19:23:59 +0200 From: Corinna Vinschen To: cygapp Subject: Re: cygrunsrv logging OK; patch to --args handling Message-ID: <20010522192359.O27460@cygbert.vinschen.de> Mail-Followup-To: cygapp 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 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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.