Starting postgres at boot

From: "Md(dot) Aminul Islam Khan" <aikhanlab(at)gmail(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: Starting postgres at boot
Date: 2010-08-30 08:24:53
Message-ID: AANLkTi=SbkUL-dHhduvuO1T=vDag9Wv9Qads7uyZvBih@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Hi,
I am trying to learn Postgresql.
Though basic, I have a problem with starting the postgres at boot,
placed the following in /etc/rc.local:
su -c '/usr/local/pgsql/bin/pg_ctl -D /usr/local/pgsql/data -l
/var/log/postgresql/postgresql.log start' postgres
but, at times I find the process, other times it is absent (ps aux | grep
postgres).
Help is highly appreciated.

aikhan

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Machiel Richards 2010-08-30 08:55:53 Database size in specific metrics
Previous Message Mladen Gogala 2010-08-29 04:56:01 Re: Order by and index