Re: Automatic shutdown from Linux.

From: David W Noon <dwnoon(at)spamtrap(dot)ntlworld(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: Automatic shutdown from Linux.
Date: 2003-05-09 13:21:38
Message-ID: 3kmso-r58.ln1@my-pc.ntlworld.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Friday 09 May 2003 13:26 in <002601c31626$229da170$6401a8c0(at)lcshost>,
dlangschied (dlangschied(at)ameritech(dot)net) wrote:

> I would like to automate the shutdown of my postgres database, just as I
> do with my startup.

I wrote a start-up and shutdown script to be placed in /etc/init.d and
symlinked into /etc/init.d/rc?.d, where "?" is your init run-level. There
is also a small configuration script to be placed in /etc/sysconfig. You,
or anybody else, may have a copy of them. These have been tested on SuSE
8.1 Pro, but should work on most other LINUX distros too.

[If you are running W******, just ignore this follow-up.]

--
Regards,

Dave
======================================================
dwnoon(at)spamtrap(dot)ntlworld(dot)com (David W Noon)
Remove spam trap to reply via e-mail.
======================================================

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message mlaks 2003-05-09 13:47:26 Multiple Postmasters - Automatic Shutdown -Tom Lane
Previous Message Tom Lane 2003-05-09 13:04:37 Re: Automatic shutdown from Linux.