Re: Starting postmaster in rc.local/during bootup
От | Shridhar Daithankar |
---|---|
Тема | Re: Starting postmaster in rc.local/during bootup |
Дата | |
Msg-id | 3DECFC4F.7233.495A965@localhost обсуждение исходный текст |
Ответ на | Starting postmaster in rc.local/during bootup ("Chris Boget" <chris@wild.net>) |
Ответы |
Re: Starting postmaster in rc.local/during bootup
|
Список | pgsql-general |
On 3 Dec 2002 at 7:10, Chris Boget wrote: > On the following page > > http://www.postgresql.org/idocs/index.php?installation.html > > It says that I need to su to the user postgres to start postmaster. > In fact, when I try to start it as user root, it won't let me and that > is somewhat understandable. But ideally, I'd like it so that user > postgres does not have a shell (which is what I've done for the > mysql user I had to set up). I assume you are doing this in a shell script which gets called from rc.local #!/bin/bash su pgctl -D <blah> start And it is not working.. How about su -c "pgctl -D <blah> start" HTH Bye Shridhar -- pediddel: A car with only one working headlight. -- "Sniglets", Rich Hall & Friends
В списке pgsql-general по дате отправления: