Re: Start up script for Fedora Core 3

From: Alexandre Barros <alexandre(at)vectorx(dot)com(dot)br>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Start up script for Fedora Core 3
Date: 2005-08-24 20:20:36
Message-ID: 430CD694.3090508@vectorx.com.br
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Chris Guo wrote:

> Dear all,
>
>
>
> We are using Fedora Core 3 in our company, and we installed postgresql
> 8.0.3 as the database system. I wonder if anybody has the start up
> script for this version so we can start postgresql service
> automatically after we reboot the server.
>
> Any help will be highly appreciated.
>
>
>
> Chris
>
personally i use something like this on my rc.local:

rm -f /opt/pgsql-8.0.3/dbdata/postmaster.pid
sudo -u pgsql /opt/pgsql-8.0.3/bin/pg_ctl -o -i -D
/opt/pgsql-8.0.3/dbdata/ -l /opt/pgsql-8.0.3/dbdata/logfile start

does the job, but i'm not sure i'd recommend it... ;)

best regards.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Sean Davis 2005-08-24 20:31:54 Problem finding libpg.3.dylib on macos X in plperlu procedure
Previous Message Tom Lane 2005-08-24 19:53:44 Re: Start up script for Fedora Core 3