On page http://www.postgresql.org/docs/9.1/interactive/server-start.html
was published a wrong startup script for automatic starting PostgeSQL
during boot under OpenBSD.

Here is a working one which should be placed into /etc/rc.local file:

if [ -x /usr/local/bin/pg_ctl -a -x /usr/local/bin/postgres ]; then
   su - _postgresql -c '/usr/local/bin/pg_ctl -D /var/postgresql/data
start -l /var/postgresql/logfile -s'
   echo -n 'postgresql'
fi

Please correct your manual pages ASAP in order to prevent spending
time to fix it.

Denis


-- 
Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs

Reply via email to