From: | Terence Leung <tcmleung(at)yahoo(dot)com> |
---|---|
To: | pgsql-general(at)PostgreSQL(dot)org |
Subject: | how to auto start "postmaster"? |
Date: | 2002-06-12 07:50:23 |
Message-ID: | 20020612075023.99676.qmail@web11606.mail.yahoo.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(at)yahoo(dot)com,
Homepage:http://tcmleung.uhome.net
__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com
From | Date | Subject | |
---|---|---|---|
Next Message | Martijn van Oosterhout | 2002-06-12 08:23:21 | Re: automatic time zone conversion |
Previous Message | Ken Williams | 2002-06-12 07:12:56 | Re: automatic time zone conversion |