This is the mail archive of the cygwin-apps mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: postgresql-8.01 and 8.1 ready


On Sat, Sep 24, 2005 at 03:07:05PM +0200, Reini Urban wrote:
> >To be specific, why doesn't the following (excerpt) from my
> >PostgreSQL 7.x README work for 8.x?
> >
> >    $ cygserver-config
> >    $ net user postgres $password /add /fullname:postgres 
> >    /comment:'PostgreSQL user account' /homedir:"$(cygpath -w 
> >    /home/postgres)"
> >    $ mkpasswd -l -u postgres >>/etc/passwd
> >    $ cmd /c secpol.msc # grant postgres "Log on as a service" user right
> >    $ cygrunsrv --install postmaster --path /usr/bin/postmaster --args "-D 
> >    /var/postgresql/data -i" --dep cygserver --termsig INT --user postgres 
> >    --shutdown
> Because 8.x put postmaster into /usr/sbin

With the the minor change to postmaster's path, does the above still

> I haven't checked --termsig INT though.

I would expect the above to still work too.  But, you should verify to
make sure of clean database shutdown semantics when the machine is


PGP/GPG Key: or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]