2008/10/28 Star Liu <[EMAIL PROTECTED]>:
> On Tue, Oct 28, 2008 at 12:23 PM, Ron Johnson <[EMAIL PROTECTED]> wrote:
>> There *must* be a relevant /etc/init.d/postgre* file.
>
> yes, there is a /etc/init.d/postgresql-8.3, its content is:

try reading the contents of:
$ man update-rc.d

It will tell you how to set up the postgres-8.3 script to run at
different runlevels.

> so should i add the following line into this file?
> su -c "postgres -D /var/lib/postgresql/data >
> /var/lib/postgresql/log/logfile 2>&1 &" postgres

No it's already all in there, you can manually call this script by typing:
# /etc/init.d/postgresql-8.3 start

Adrian

-- 
24x7x365 != 24x7x52 Stupid or bad maths?
<erno> hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to