Thread: Start-up problems

Start-up problems

From
beyaRecords - The home Urban music
Date:
I am running postgresql 7.4.1 on OS X 10.3 and am having to manually 
start-up postgresql using /usr/local/pgsql/bin/postmaster -i -D 
/usr/local/pgsql/data.

Is there a script available which will enable me to automate this 
process, so that postgres loads up at startup?

Uzo



Re: Start-up problems

From
Johannes Lochmann
Date:
On Thursday 08 January 2004 13:59, beyaRecords - The home Urban music wrote:
> I am running postgresql 7.4.1 on OS X 10.3 and am having to manually
> start-up postgresql using /usr/local/pgsql/bin/postmaster -i -D
> /usr/local/pgsql/data.
>
> Is there a script available which will enable me to automate this
> process, so that postgres loads up at startup?

pg_ctl <options> start

HTH

Johannes


Re: Start-up problems

From
Kaloyan Iliev Iliev
Date:
Look at /etc/

beyaRecords - The home Urban music wrote:

> Kaloyan,
> thanks for reply. Still finding my way around the unix environment so 
> could you tell me where the file you mention is situated?
> On 8 Jan 2004, at 13:24, Kaloyan Iliev Iliev wrote:
>
>> This is what I have in my rc.local on FreeBSD:
>>
>> su pgsql -c "/usr/local/bin/pg_ctl -D /usr/local/pgsql/data -o -i -l 
>> /usr/local/pgsql/logfile start
>> "
>>
>> beyaRecords - The home Urban music wrote:
>>
>>> I am running postgresql 7.4.1 on OS X 10.3 and am having to manually 
>>> start-up postgresql using /usr/local/pgsql/bin/postmaster -i -D 
>>> /usr/local/pgsql/data.
>>>
>>> Is there a script available which will enable me to automate this 
>>> process, so that postgres loads up at startup?
>>>
>>> Uzo
>>>
>>>
>>> ---------------------------(end of 
>>> broadcast)---------------------------
>>> TIP 1: subscribe and unsubscribe commands go to 
>>> majordomo@postgresql.org
>>>
>>>
>>
>
>