Re: Trying to auto start Postgres when server boots up

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Shahid Butt" <Shahid(dot)Butt(at)nccedu(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Trying to auto start Postgres when server boots up
Date: 2006-02-07 14:59:46
Message-ID: 6840.1139324386@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Shahid Butt" <Shahid(dot)Butt(at)nccedu(dot)com> writes:
> I am using PostgreSQL 7.4.7 and Red Hat Enterprise Linux 4.

> I want to start the Postgres Postmaster automatically when the server
> boots up.

If you're using an RPM distribution then you shouldn't need to muck with
rc.local. The startup files are there, you just have to enable them.

sudo /sbin/service postgresql start
sudo /sbin/chkconfig postgresql on

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Ludwig Isaac Lim 2006-02-07 15:05:23 Clarification Regarding Vacuum and template1
Previous Message Bruce Momjian 2006-02-07 14:53:31 Re: Commercial Use