Re: RedHat startup script and environment variables in 7.1.2?

From: Steve Wampler <swampler(at)noao(dot)edu>
To: postgres-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: RedHat startup script and environment variables in 7.1.2?
Date: 2001-08-23 15:44:45
Message-ID: 3B8524ED.EED61835@noao.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Steve Wampler wrote:
>
> It looks as though the init.d script "postgres" supplied with
> 7.1.2 no longer propagates environment variables to pg_ctl. Was that
> an intentional change? Or is this something no one else sees?
>
> I put databases off on their own partition, away from /var/lib/pgsql.
> In the base, all I had to do was add:

Sigh, "In the *past*,..."

> export SOLISDB=.....
>
> into /etc/rc.d/init.d/postgres to use createdb --location SOLISDB
>
> but I just noticed that this isn't working with 7.1.2. Instead, I
> have to put the export directly into /usr/bin/pg_ctl - which I'm not
> particularly fond of doing.
>
> Thanks!
>
> --
> Steve Wampler- SOLIS Project, National Solar Observatory
> swampler(at)noao(dot)edu

--
Steve Wampler- SOLIS Project, National Solar Observatory
swampler(at)noao(dot)edu

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Dirk Boenning 2001-08-23 15:50:41 Looking for JDBC Driver
Previous Message Steve Wampler 2001-08-23 15:43:46 RedHat startup script and environment variables in 7.1.2?