how to auto start "postmaster"?

Поиск
Список
Период
Сортировка
От Terence Leung
Тема how to auto start "postmaster"?
Дата
Msg-id 20020612075023.99676.qmail@web11606.mail.yahoo.com
обсуждение исходный текст
Ответы Re: how to auto start "postmaster"  (Darren Ferguson <darren@crystalballinc.com>)
Re: how to auto start "postmaster"?  (Thomas Beutin <tyrone@laokoon.IN-Berlin.DE>)
Список pgsql-general
Dear sir,
   I am using Redhat Linux 6.2 and postgresql 7.0.
   I want to auto-run "postmaster -i &" after booting
the Linux. I write a shell script in /etc/rc.d/rc4.d
so that it would be run after start up.
"----------------
#!/bin/sh
postmaster -i &
----------------"
   However, I know postmaster cannot be run by "root"
but "postgres".
   What can I do, how to modify the code so that the
script can be run by postgres?
   Please help!!!
   Thank you.



=====
Terence Leung,
       Mobile: 9273 9176
       email: tcmleung@yahoo.com,
       Homepage:http://tcmleung.uhome.net

__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

В списке pgsql-general по дате отправления:

Предыдущее
От: Ken Williams
Дата:
Сообщение: automatic time zone conversion
Следующее
От: "Marcel Meulemans"
Дата:
Сообщение: dynamic querys