Re: We should Axe /contrib/start-scripts

Поиск
Список
Период
Сортировка
От Greg Stark
Тема Re: We should Axe /contrib/start-scripts
Дата
Msg-id 407d949e0908191452h705fbf85n2dd6a6022de9cd91@mail.gmail.com
обсуждение исходный текст
Ответ на Re: We should Axe /contrib/start-scripts  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: We should Axe /contrib/start-scripts  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: David Fetter
Дата:
Сообщение: Re: Geometric bewilderment
Следующее
От: Tom Lane
Дата:
Сообщение: Re: We should Axe /contrib/start-scripts