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

From: "Welty, Richard" <rwelty(at)ltionline(dot)com>
To: "leaf_yxj" <leaf_yxj(at)163(dot)com>, <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:33:12
Message-ID: C35FDD5FDF7E584991A6AAF8F1A8425F0226AD19@ltischx01.lti.int
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

in the RHEL and related linux systems (Fedora, CentOS, Amazon EC2 Linux), use this
command:

chkconfig postgresql on

to set up postgresql to start at boot. it needs to be executed as root.

richard

-----Original Message-----
From: pgsql-general-owner(at)postgresql(dot)org on behalf of leaf_yxj
Sent: Fri 4/27/2012 1:22 PM
To: pgsql-general(at)postgresql(dot)org
Subject: [GENERAL] Re: how to set up automatically startup database when the server boot or reboot.

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.

Thanks. Guys. Any opinion is welcome. Please help.

--
View this message in context: http://postgresql.1045698.n5.nabble.com/how-to-set-up-automatically-startup-database-when-the-server-boot-or-reboot-tp5670442p5670905.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Alexander Farber 2012-04-27 18:59:13 How to add "on delete cascade" constraints
Previous Message John R Pierce 2012-04-27 18:13:19 Re: Re: how to set up automatically startup database when the server boot or reboot.