X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 409D052906 for ; Fri, 10 Jun 2005 13:03:24 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 64998-10 for ; Fri, 10 Jun 2005 16:03:23 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id CEC9B52953 for ; Fri, 10 Jun 2005 13:03:21 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id j5AG3Jqo022968; Fri, 10 Jun 2005 12:03:19 -0400 (EDT) To: James Herbers Cc: pgsql-admin@postgresql.org Subject: Re: PostgreSQL default data location In-reply-to: <42A99A1F.6030408@herbers.ca> References: <42A8AC56.5090808@herbers.ca> <42A99A1F.6030408@herbers.ca> Comments: In-reply-to James Herbers message dated "Fri, 10 Jun 2005 07:48:15 -0600" Date: Fri, 10 Jun 2005 12:03:19 -0400 Message-ID: <22967.1118419399@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.006 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200506/70 X-Sequence-Number: 17825 James Herbers writes: > It is a problem with the /etc/init.d/postgresql script. > On line 31 the script grabs the defaults from the > /etc/sysconfig/postgresql file which is where they should be. But then > on line 41-42 it goes to set these defaults by using the file > /etc/sysconfig/postgresql.d/${NAME} which would be the name of the > script running, fine if the script is /etc/init.d/postgresql. In the > case of going to run level 3 the file name is S85postgresql (a link to > /etc/init.d/postgresql)! Well there is no file with defaults named > /etc/sysconfig/postgresql.d/S85postgresql !! You need to have a word with your Linux distro vendor, I think. The init scripts shipped by PGDG and Red Hat, at least, have gotten this right for a long time. regards, tom lane