Обсуждение: Windows XP Service startup

Поиск
Список
Период
Сортировка

Windows XP Service startup

От
Glenn Sullivan
Дата:
I have been using an application which uses PostgreSql on Solaris for a few
years and now I am trying to our application running on Windows XP.  I want
the postmaster started as a "service" which is a choice during installation.
However, when the service is started, I want to use a different data
directory (-D option) than specified automatically for the service.

How can I specify my desired "-D" option for the Windows XP Service?

Thanks,
Glenn


Re: Windows XP Service startup

От
"Magnus Hagander"
Дата:
> I have been using an application which uses PostgreSql on
> Solaris for a few years and now I am trying to our
> application running on Windows XP.  I want the postmaster
> started as a "service" which is a choice during installation.
> However, when the service is started, I want to use a
> different data directory (-D option) than specified
> automatically for the service.
>
> How can I specify my desired "-D" option for the Windows XP Service?

You can edit the service using the service control manager, or in the
registry (hklm\system\currentcontrolset)

//Magnus