cygrunsrv logging OK; patch to --args handling
Tue May 22 10:24:00 GMT 2001
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 Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:email@example.com
Red Hat, Inc.
More information about the Cygwin-apps