Re: We should Axe /contrib/start-scripts - Mailing list pgsql-hackers

From Greg Stark
Subject Re: We should Axe /contrib/start-scripts
Date
Msg-id 407d949e0908191452h705fbf85n2dd6a6022de9cd91@mail.gmail.com
Whole thread Raw
In response to Re: We should Axe /contrib/start-scripts  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: We should Axe /contrib/start-scripts  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Wed, Aug 19, 2009 at 10:03 PM, Tom Lane<tgl@sss.pgh.pa.us> wrote:
> What this all leads to is that it's safe to launch a postmaster from
> an init script via something like
>        su - postgres sh -c "postmaster ..."

Surely you don't want "-"? If you run postgres's .profile etc. then
random user customization for the postgres user could interfere with
your startup process.

--
greg
http://mit.edu/~gsstark/resume.pdf


pgsql-hackers by date:

Previous
From: David Fetter
Date:
Subject: Re: Geometric bewilderment
Next
From: Tom Lane
Date:
Subject: Re: We should Axe /contrib/start-scripts