Can't control PostgreSQL with RC scripts
Ed Stover
estover at nativenerds.com
Tue Apr 12 16:50:39 PDT 2005
On Fri, 2005-04-08 at 10:59 +0300, Volodymyr Kostyrko wrote:
> Pat Maddox wrote:
> > I installed PostgreSQL 8.0.1 from ports, and now I'd like to control
> > it with the RC scripts. I wasn't able to run initdb with the scripts,
> > I had to do that manually with the regular initdb command. Now I've
> > got the db dir as /usr/local/pgsql/data, which is what it looks like
> > pgsql expects, but the scripts still won't start it or stop it. They
> > don't produce any output either. Any ideas on what to do?
>
> echo 'postgresql_enable="YES"' >> /etc/rc.conf
>
that Darn rcsubr again ;)
More information about the freebsd-questions
mailing list