Re: Re: how to set up automatically startup database when the server boot or reboot.

From: John R Pierce <pierce(at)hogranch(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Re: how to set up automatically startup database when the server boot or reboot.
Date: 2012-04-27 18:13:19
Message-ID: 4F9AE1BF.6090304@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Welty, Richard 2012-04-27 18:33:12 Re: Re: how to set up automatically startup database when the server boot or reboot.
Previous Message Filip Rembiałkowski 2012-04-27 18:11:28 Re: empty role names in pg_dumpall output