X-Original-To: pgsql-admin@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id DFB50475AE5 for ; Fri, 9 May 2003 09:25:26 -0400 (EDT) Received: from news.hub.org (news.hub.org [64.49.215.80]) by postgresql.org (Postfix) with ESMTP id 1F031475A80 for ; Fri, 9 May 2003 09:25:26 -0400 (EDT) Received: by news.hub.org (Postfix, from userid 8) id 03B7743A89E; Fri, 9 May 2003 09:25:25 -0400 (EDT) Message-Id: <3kmso-r58.ln1@my-pc.ntlworld.com> From: David W Noon Subject: Re: Automatic shutdown from Linux. X-Newsgroups: comp.databases.postgresql.admin References: <002601c31626$229da170$6401a8c0@lcshost> Lines: 22 User-Agent: KNode/0.7.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit Date: Fri, 09 May 2003 14:21:38 +0100 X-Complaints-To: abuse@ntlworld.com Organization: ntl Cablemodem News Service To: pgsql-admin@postgresql.org X-Spam-Status: No, hits=-16.1 required=5.0 tests=BAYES_10,QUOTED_EMAIL_TEXT,REFERENCES, SIGNATURE_SHORT_SPARSE,USER_AGENT autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200305/161 X-Sequence-Number: 8723 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. ======================================================