| От | Peter Wiersig |
|---|---|
| Тема | Re: restarting after power outage |
| Дата | |
| Msg-id | 20050427194556.GC4032@london087.server4you.de обсуждение |
| Ответ на | Re: restarting after power outage (Doug McNaught <doug@mcnaught.org>) |
| Список | pgsql-general |
On Wed, Apr 27, 2005 at 03:03:50PM -0400, Doug McNaught wrote: > > What I have done is to create a separate init.d script that > removes the PID file, and arrange for it to run before the PG > startup script. An even better place (if you really want to do all this) would be something that happens only at boot time. On a Debian system a skript linked to /etc/rcS.d/ would be in order, on SUSE I would rm it in /etc/init.d/boot.local. But I advise against it. Do things like that manually after you've checked that your pgsql-partition is mounted and filled with correct data. Some of the distributed init.d skripts for starting postgres also initdb the data-location if they think they should. That can lead to the total loss of your cluster. -- Peter
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера