Re: I would preffer that postgresql start with the flag

ajimenez@servidor.unam.mx <ajimenez@servidor.unam.mx>

From: "ajimenez@servidor.unam.mx" <ajimenez@servidor.unam.mx>
To: gustavo Berns <webmaster@aaadir.com>
Cc: <pgsql-general@postgresql.org>
Date: 2002-04-15T15:05:03Z
Lists: 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
>