On Fri, Oct 20, 2006 at 12:44:46AM -0600, David B. wrote:
> trying to get postgres to start up at boot.  found this at postgresql's site
> 

The postgresql package has some suggestions.

I use:

/etc/rc.local

echo -n ' postgresql'
su -l _postgresql -c "nohup /usr/local/bin/pg_ctl start -D /var/postgresql/data"


/etc/rc.shutdown

echo -n ' postgresql '
su -l _postgresql -c "/usr/local/bin/pg_ctl stop -m fast -D 
/var/postgresql/data"
rm -f /var/postgresql/data/postmaster.pid /tmp/.s.PGSQL.5432 
/tmp/.s.PGSQL.5432.lock
echo

Reply via email to