From: | Fred Yankowski <fred(at)ontosys(dot)com> |
---|---|
To: | "Henshall, Stuart - WCP" <SHenshall(at)westcountrypublications(dot)co(dot)uk> |
Cc: | "'pgsql-cygwin(at)postgresql(dot)org'" <pgsql-cygwin(at)postgresql(dot)org> |
Subject: | Re: cygrunsrv example |
Date: | 2001-05-30 12:47:02 |
Message-ID: | 20010530074702.A57303@enteract.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-cygwin |
On Wed, May 30, 2001 at 11:02:49AM +0100, Henshall, Stuart - WCP wrote:
> I noticed that the example in cygrunsrv readme:
> cygrunsrv --install postmaster2 \
> --path /usr/bin/postmaster \
> --args "-D /usr/share/postgresql/data -i -d 2 -o '-o
> /var/log/postgres.log'" \
> --dep ipc-daemon --termsig INT --user postgresql
>
> has -d2 in the options.
That example is not a general recommendation of how to configure
postgresql with cygrunsrv, but rather just a sample (near worst case)
configuration that happens to display real usage of many of the
cygrunsrv options. I intend to write up some documentation specific
to the postgresql-with-cygrunsrv case. Here's a sampler:
The simplest configuration might be something like this:
cygrunsrv --install postmaster \
--path /usr/bin/postmaster \
--dep ipc-daemon
assuming that PGDATA is set in the system environment such that the
service picks it up as a default.
A more typical configuration might look like this:
cygrunsrv --install postmaster \
--path /usr/bin/postmaster \
--args "-D /usr/share/postgresql/data -i" \
--dep ipc-daemon
--
Fred Yankowski fred(at)OntoSys(dot)com tel: +1.630.879.1312
Principal Consultant www.OntoSys.com fax: +1.630.879.1370
OntoSys, Inc 38W242 Deerpath Rd, Batavia, IL 60510, USA
From | Date | Subject | |
---|---|---|---|
Next Message | Jason Tishler | 2001-05-30 13:11:11 | Re: building postgres.exe ./configure dies |
Previous Message | Henshall, Stuart - WCP | 2001-05-30 10:02:49 | cygrunsrv example |