X-Original-To: pgsql-admin@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 8B8EF475AE5 for ; Fri, 9 May 2003 08:54:49 -0400 (EDT) Received: from wolff.to (wolff.to [66.93.249.74]) by postgresql.org (Postfix) with SMTP id AFC0E475A80 for ; Fri, 9 May 2003 08:54:48 -0400 (EDT) Received: (qmail 10186 invoked by uid 500); 9 May 2003 12:56:07 -0000 Date: Fri, 9 May 2003 07:56:07 -0500 From: Bruno Wolff III To: dlangschied Cc: pgsql-admin@postgresql.org Subject: Re: Automatic shutdown from Linux. Message-ID: <20030509125607.GA10138@wolff.to> Mail-Followup-To: dlangschied , pgsql-admin@postgresql.org References: <002601c31626$229da170$6401a8c0@lcshost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <002601c31626$229da170$6401a8c0@lcshost> User-Agent: Mutt/1.5.4i X-Spam-Status: No, hits=-38.0 required=5.0 tests=BAYES_10,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, REFERENCES,REPLY_WITH_QUOTES,USER_AGENT_MUTT 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/117 X-Sequence-Number: 8679 On Fri, May 09, 2003 at 08:25:53 -0400, dlangschied wrote: > Hi all! > I would like to automate the shutdown of my postgres database, just as I do > with my startup. I have looked through the docs and I can't find anything > that addresses this issue. I am sure that there are many out there who > don't manually shutdwon the database prior to a system shutdown/reboot. > Please advise. > Sincerely, Probably the init scripts for your system already do this for you. If you system displays a message for each service being shutdown during a shutdown you should be able to watch and see if postgres is shutdown as part of that process.