|
From: Thomas G. <to...@ad...> - 2001-08-18 20:15:46
|
On Sat, 18 Aug 2001, Jeff Kowalczyk wrote:
> I see it now, postmaster is buried in the init.d script for RedHat. I
> have a PostgreSQL 7.1.32 installation on RH7.1, can I insert '-i' in the
> init.d script?
>
> My best guess where is the line:
> su -l postgres -s /bin/sh -c "/usr/bin/pgctl -D $PGDATA -p
> /ur/bin/postmaster start > /dev/null 2>&1" < /dev/null
>
> To which I tried to insert -i before and after the 'start' but that
> makes the startup script fail.
>
> Any suggestions?
Jeff, postmaster accepts -i as an arg: postmaster -i
run: man postmaster
for more information.
But, I use Lamar's script (the one in /etc/rc.d/init.d) without
modification on RH 6.1 and RH 7.0 and it runs sql-ledger fine.
In fact...
ps ax | grep postmaster
shows:
/usr/bin/postmaster -i
--------------------------------------------------------------------
SVCMC - Center for Behavioral Health
--------------------------------------------------------------------
Thomas Good tomg@ { admin | q8 } .nrnet.org
Programmer/Analyst Phone: 718-354-5528
Residential Services Mobile: 917-282-7359
--------------------------------------------------------------------
/* Die Wahrheit Ist Irgendwo Da Draussen... */
--------------------------------------------------------------------
|