In file /etc/rc.d/init.d/postgresql, add the option -o -i to the pg_ctl
that starts the postmaster (around line 152, pgsql 7.2; 125, 7.1).
Ex postgresql 7.2:
change:
su -l postgres -s /bin/sh -c "/usr/bin/pg_ctl -D $PGDATA
-p /usr/bin/postmaster start > /dev/null 2>&1" < /dev/null
to
su -l postgres -s /bin/sh -c "/usr/bin/pg_ctl -D $PGDATA
-p /usr/bin/postmaster start -o -i > /dev/null 2>&1" < /dev/null
Regards,
Luciano Rocha
--
Luciano Rocha, strange@nsk.yi.org
The trouble with computers is that they do what you tell them, not what
you want.
-- D. Cohen