Search Postgresql Archives

Re: windows service

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 obj= username password= password

Far better to use the pg_ctl register command as Dave Page said...







--
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux