Re: Start up and shutdown scripts for postgres on cygwin

Поиск
Список
Период
Сортировка
От Jason Tishler
Тема Re: Start up and shutdown scripts for postgres on cygwin
Дата
Msg-id 20010529135338.E498@dothill.com
обсуждение исходный текст
Ответ на Start up and shutdown scripts for postgres on cygwin  ("Richard Church" <rfchurch@hotmail.com>)
Список pgsql-cygwin
Richard,

On Mon, May 28, 2001 at 01:27:12AM -0000, Richard Church wrote:
> I am new to cygwin how I can use the equivalent of Linux rc.d scripts in
> cygwin to get postgres started
>
> I want to run postgres automatically after I start cygwin, and get it to
> shutdown when cygwin shuts down.

Try using cygrunsrv that is part of Cygwin now -- the README has a
PostgreSQL example in it.

> It is always necessary to redefine the PGDATA variable after I start. The
> variables don't remain after cygwin shuts down.
>
> What sort of script can I use to achieve this?

You can always add this to your .bash_profile (just like on Linux).

Jason

--
Jason Tishler
Director, Software Engineering       Phone: 732.264.8770 x235
Dot Hill Systems Corp.               Fax:   732.264.8798
82 Bethany Road, Suite 7             Email: Jason.Tishler@dothill.com
Hazlet, NJ 07730 USA                 WWW:   http://www.dothill.com

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

Предыдущее
От: Jason Tishler
Дата:
Сообщение: Re: Re: Error ?
Следующее
От: Jerry Asher
Дата:
Сообщение: building postgres.exe ./configure dies