Re: [GENERAL] windows service

2009-05-03 Thread John R Pierce
Adam Ruth wrote: One option is sc.exe command. sc create postgresql binPath= "^"c:\scholarpack\postgres\bin\pg_ctl.exe^" runservice -w -N ^"P4^" -D ^"c:\scholarpack\data^"" -start auto except, on a SC CREATE, you'd need to specify a lot more than just the binpath. I'd suspect at least ob

Re: [GENERAL] windows service

2009-05-03 Thread Adam Ruth
One option is sc.exe command. sc create postgresql binPath= "^"c:\scholarpack\postgres\bin \pg_ctl.exe^" runservice -w -N ^"P4^" -D ^"c:\scholarpack\data^"" - start auto On 03/05/2009, at 9:32 PM, ga...@schoolteachers.co.uk wrote: Anyone know how to install Postgresql as a windows service fr

Re: [GENERAL] windows service

2009-05-03 Thread Dave Page
On Sun, May 3, 2009 at 12:32 PM, wrote: > Anyone know how to install Postgresql as a windows service from the command > line. > I have this as the correct syntax: > "c:\scholarpack\postgres\bin\pg_ctl.exe" runservice -w -N "P4" -D > "c:\scholarpack\data" > > Where P4 is the name of the service. H

Re: [GENERAL] windows service

2009-05-03 Thread Thomas Kellerer
ga...@schoolteachers.co.uk wrote on 03.05.2009 13:32: Anyone know how to install Postgresql as a windows service from the command line. I have this as the correct syntax: "c:\scholarpack\postgres\bin\pg_ctl.exe" runservice -w -N "P4" -D "c:\scholarpack\data" Where P4 is the name of the service