Re: freebsd sample startup script doesn't work
Peter Eisentraut <peter_e@gmx.net>
From: Peter Eisentraut <peter_e@gmx.net>
To: Vivek Khera <khera@kcilink.com>
Cc: <pgsql-bugs@postgresql.org>
Date: 2001-05-03T15:39:09Z
Lists: pgsql-bugs
Vivek Khera writes: > I see clearly that PGDATA is set and exported. I'm suspecting that > the "su -l" causes the environment to disappear. My guess is that > whomever wrote this script has PGDATA set in the ~/.profile (or > equivalent) in the postgres user's home directory. This is fixed in the soon to be released 7.1.1. > Also, the following line in the start action of the sript is useful: > > /sbin/ldconfig -m $prefix/lib You ought to run this once, not every time the system starts. -- Peter Eisentraut peter_e@gmx.net http://funkturm.homeip.net/~peter