Re: Trying to auto start Postgres when server boots up - Mailing list pgsql-general

From Tom Lane
Subject Re: Trying to auto start Postgres when server boots up
Date
Msg-id 6840.1139324386@sss.pgh.pa.us
Whole thread Raw
In response to Trying to auto start Postgres when server boots up  ("Shahid Butt" <Shahid.Butt@nccedu.com>)
List pgsql-general
"Shahid Butt" <Shahid.Butt@nccedu.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

pgsql-general by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Commercial Use
Next
From: Ludwig Isaac Lim
Date:
Subject: Clarification Regarding Vacuum and template1