public inbox for [email protected]
help / color / mirror / Atom feedFrom: Denis Lapshin <[email protected]>
To: [email protected]
Subject: Wrong startup script of PostgreSQL 9.1.2 under OpenBSD 5.1
Date: Tue, 25 Sep 2012 10:37:35 +0400
Message-ID: <CAF=o15UvgtX-2KS8krc694FAdbpaKpcvgLiZ8YQcE==DK=Bw_w@mail.gmail.com> (raw)
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
view thread (5+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected]
Subject: Re: Wrong startup script of PostgreSQL 9.1.2 under OpenBSD 5.1
In-Reply-To: <CAF=o15UvgtX-2KS8krc694FAdbpaKpcvgLiZ8YQcE==DK=Bw_w@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox