Re: windows service

Поиск
Список
Период
Сортировка
От John R Pierce
Тема Re: windows service
Дата
Msg-id 49FE2790.9060609@hogranch.com
обсуждение исходный текст
Ответ на Re: windows service  (Adam Ruth <adamruth@mac.com>)
Список pgsql-general
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...







В списке pgsql-general по дате отправления:

Предыдущее
От: Adam Ruth
Дата:
Сообщение: Re: windows service
Следующее
От: Bill Moseley
Дата:
Сообщение: Re: Tracking down a deadlock