ipc-daemon as service on Windows XP

Поиск
Список
Период
Сортировка
От Michael Adler
Тема ipc-daemon as service on Windows XP
Дата
Msg-id Pine.NEB.4.44.0204011547190.27980-100000@reva.sixgirls.org
обсуждение исходный текст
Ответ на Re: Cygwin Postgres 7.1.3 on Windows ME  (Jason Tishler <jason@tishler.net>)
Ответы Re: ipc-daemon as service on Windows XP  (Jason Tishler <jason@tishler.net>)
Список pgsql-cygwin
I've installed postgresql on cygwin (using Jason's binaries, which are
great) hundreds of times on Windows 2000. Installing cygipc and PostgreSQL
works very reliably. I use:

cygrunsrv --install ipc-daemon --path /usr/local/bin/ipc-daemon.exe --termsig INT --shutdown
cygrunsrv --install postmaster --path /usr/bin/postmaster --termsig INT --dep ipc-daemon

and that works everytime with Windows 2000.

This does not seem to work on Windows XP (meanwhile, other services like
cron and inetd work fine on XP).

I think the ipc-daemon is the problem. The only way I get it to work is by
typing:

$ ipc-daemon&
$ pg_ctl start

But I would prefer that it start automatically in the background (as a
"service").

Btw, I noticed that service processes are all owed by user "Everyone" on
XP. In Win2k, they were owned by "SYSTEM".


Has anyone used PostgreSQL/cygipc as a system "service" in Windows XP? If
so, how?

Mike Adler


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

Предыдущее
От: Christine Hall
Дата:
Сообщение: WWW.SAI.MSU.SU:8000
Следующее
От: Jason Tishler
Дата:
Сообщение: Re: ipc-daemon as service on Windows XP