service start script

Поиск
Список
Период
Сортировка
От Michael Adler
Тема service start script
Дата
Msg-id Pine.NEB.4.44.0209101046150.19294-100000@reva.sixgirls.org
обсуждение исходный текст
Ответ на Re: Installation location of DLLs  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: service start script  (Jason Tishler <jason@tishler.net>)
Список pgsql-cygwin
In order to reliably start up the postmaster, I have been using a script
to wrap around the postmaster binary and clean up some files that might
otherwise prevent the postmaster from starting.

The script looks something like this:

#!/usr/bin/bash
PGDATA=/usr/local/pgsql/data
rm -f $PGDATA/postmaster.pid
rm -f /tmp/.s.PGSQL.5432.lock /tmp/.s.PGSQL.5432
exec /bin/postmaster

This improved reliability 8 months ago.

Does anyone else use/need something like this? Or do the newer versions
simply work better without this functionality?

Mike Adler


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

Предыдущее
От: "Dave Page"
Дата:
Сообщение: Re: pb on insertion in the database
Следующее
От: "Myles Bogner, Ph.D."
Дата:
Сообщение: Re: service start script