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: RedHat startup script and environment variables in 7.1.2?
Date: 2001-08-23 15:43:46
Message-ID: 3B8524B2.B685D744@noao.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


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:

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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Steve Wampler 2001-08-23 15:44:45 Re: RedHat startup script and environment variables in 7.1.2?
Previous Message Fernando Schapachnik 2001-08-23 15:16:36 Views in PgAccess