Re: I would preffer that postgresql start with the flag

Поиск
Список
Период
Сортировка
От ajimenez@servidor.unam.mx
Тема Re: I would preffer that postgresql start with the flag
Дата
Msg-id Pine.GSO.4.33.0204150959170.21431-100000@servidor.unam.mx
обсуждение исходный текст
Ответ на I would preffer that postgresql start with the flag -i  ("gustavo Berns" <webmaster@aaadir.com>)
Список pgsql-general
Dear Gustavo:

I am using Redhat 7.2, I modified postgresql like this in function
start()

        # Check for postmaster already running...
        pid=`pidof -s postmaster`
        if [ $pid ]
        then
                echo $"Postmaster already running."
        else             #all systems go -- remove any stale lock files
              rm -f /tmp/.s.PGSQL.* > /dev/null
              echo -n "$PSQL_START"
         su -l postgres -s /bin/sh -c "/usr/bin/pg_ctl -o "-i" -D $PGDATA

its working fine ...

regards,

Alejandro Jimenez H.
ajimenez@servidor.unam.mx

On Sat, 13 Apr 2002, gustavo Berns wrote:

> Gustavo Berns wrote:
>
> I would like very much that when the server start also the postmaster start
> with the -i.
> I did look on the file  - /etc/rc.d/init.d/postgresql  - but, I don't know
> where to add the flag -i.
> Rather than try an error, I would prefer to added the -i right first time.
> Any body there has done this? If so I would be very happy to know how.
>
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
>


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

Предыдущее
От: Markus Wagner
Дата:
Сообщение: How to get more detailed error messages?
Следующее
От: "Josh Berkus"
Дата:
Сообщение: Proposal: New Mailing List