pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: James Herbers <james@herbers.ca>
Cc: pgsql-admin@postgresql.org
Subject: Re: PostgreSQL default data location
Date: Fri, 10 Jun 2005 12:03:19 -0400
Message-ID: <22967.1118419399@sss.pgh.pa.us> (raw)
In-Reply-To: <42A99A1F.6030408@herbers.ca>
References: <42A8AC56.5090808@herbers.ca>
	<42A99A1F.6030408@herbers.ca>

James Herbers <james@herbers.ca> 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



view thread (3+ messages)

Message-ID: <22967.1118419399@sss.pgh.pa.us>
Permalink:  ../22967.1118419399@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/22967.1118419399@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, james@herbers.ca
  Subject: Re: PostgreSQL default data location
  In-Reply-To: <22967.1118419399@sss.pgh.pa.us>
  References: <42A8AC56.5090808@herbers.ca> <42A99A1F.6030408@herbers.ca> <22967.1118419399@sss.pgh.pa.us>

* 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