Re: windows service

Поиск
Список
Период
Сортировка
Искать
От
Adam Ruth
Тема
Re: windows service
Дата
в 19:18:01
Msg-id
A61A1282-1883-489B-A13E-13B524EB565E@mac.com
Ответ на
windows service (garry@schoolteachers.co.uk)
Список
Дерево обсуждения
windows service garry@schoolteachers.co.uk
Re: windows service Dave Page <dpage@pgadmin.org>
Re: windows service Adam Ruth <adamruth@mac.com>
Re: windows service John R Pierce <pierce@hogranch.com>
Re: windows service Thomas Kellerer <spam_eater@gmx.net>
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, garry@schoolteachers.co.uk 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. However, I can not get the sc  
> command to
> accept the above string on the command line. Any help would be much
> appreciated.
> Regards
> Garry
>
> -- 
> Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general

В списке pgsql-general по дате отправления
От: Brent Wood
Дата:
От: John R Pierce
Дата:
Сообщение: Re: windows service
FAQ