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"
Re: how to auto start "postmaster"? |
| Список | 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 по дате отправления: