Re: startup scripts don't function properly

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: <VASQUEZ_JASON(at)LILLY(dot)COM>
Cc: <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: startup scripts don't function properly
Date: 2001-04-19 19:30:05
Message-ID: Pine.LNX.4.30.0104192129040.762-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

VASQUEZ_JASON(at)LILLY(dot)COM writes:

> 1. The "su" commands for start/stop/restart/status are in the form of "su
> -". This picks up the environment of the postgres user, which wipes out
> the environment variables that were set earlier in this script (e.g.,
> PGDATA). Quick solution is to remove the extra dashes.

I have added -D options to the pg_ctl invocation. Leaving in the '-' is
probably a good idea.

--
Peter Eisentraut peter_e(at)gmx(dot)net http://funkturm.homeip.net/~peter

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Peter Eisentraut 2001-04-19 20:48:11 Re: [HACKERS] Re: three VERY minor things with 7.1 final
Previous Message Peter Eisentraut 2001-04-19 19:22:02 Re: BUG??, fault in POSTMASTER when using GMAKE