pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: David W Noon <dwnoon@spamtrap.ntlworld.com>
To: pgsql-admin@postgresql.org
Subject: Re: Automatic shutdown from Linux.
Date: Fri, 09 May 2003 14:21:38 +0100
Message-ID: <3kmso-r58.ln1@my-pc.ntlworld.com> (raw)
References: <002601c31626$229da170$6401a8c0@lcshost>

On Friday 09 May 2003 13:26 in <002601c31626$229da170$6401a8c0@lcshost>,
dlangschied (dlangschied@ameritech.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@spamtrap.ntlworld.com (David W Noon)
Remove spam trap to reply via e-mail.
======================================================




view thread (5+ messages)

Message-ID: <3kmso-r58.ln1@my-pc.ntlworld.com>
Permalink:  ../3kmso-r58.ln1@my-pc.ntlworld.com/
Also on:    postgresql.org/message-id/3kmso-r58.ln1@my-pc.ntlworld.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: dwnoon@spamtrap.ntlworld.com
  Subject: Re: Automatic shutdown from Linux.
  In-Reply-To: <3kmso-r58.ln1@my-pc.ntlworld.com>
  References: <002601c31626$229da170$6401a8c0@lcshost> <3kmso-r58.ln1@my-pc.ntlworld.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox