From: | "ajimenez(at)servidor(dot)unam(dot)mx" <ajimenez(at)servidor(dot)unam(dot)mx> |
---|---|
To: | gustavo Berns <webmaster(at)aaadir(dot)com> |
Cc: | <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: I would preffer that postgresql start with the flag |
Date: | 2002-04-15 15:05:03 |
Message-ID: | Pine.GSO.4.33.0204150959170.21431-100000@servidor.unam.mx |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
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(at)servidor(dot)unam(dot)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
>
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2002-04-15 15:05:48 | Re: Query planner quirk? |
Previous Message | Tom Lane | 2002-04-15 14:40:54 | Re: I: Migrating a very large db |