Re: Re: how to set up automatically startup database when the server boot or reboot. - Mailing list pgsql-general

From John R Pierce
Subject Re: Re: how to set up automatically startup database when the server boot or reboot.
Date
Msg-id 4F9AE1BF.6090304@hogranch.com
Whole thread Raw
In response to Re: how to set up automatically startup database when the server boot or reboot.  (leaf_yxj <leaf_yxj@163.com>)
List pgsql-general
On 04/27/12 10:22 AM, leaf_yxj wrote:
> My os is redhat linux 5.5. And My database is greenplum 4.2.1( postgresql
> 8.2.15).  I will take a look about the init.d directory.

greenplum is a highly modified and custom version of postgres, you
should consult with them as to how they have it setup.


the standard postgresql distributions for RHEL/CentOS come with the
SysVinit scripts, you merely need to..

     # chkconfig postgresql-9.1 on
     # service postgresql-9.1 start

to configure it to autostart with the OS, and to start it right now.


--
john r pierce                            N 37, W 122
santa cruz ca                         mid-left coast


pgsql-general by date:

Previous
From: Filip Rembiałkowski
Date:
Subject: Re: empty role names in pg_dumpall output
Next
From: "Welty, Richard"
Date:
Subject: Re: Re: how to set up automatically startup database when the server boot or reboot.