Re: pgsql8b5 not launching on OSX system start; otherwise OK - Mailing list pgsql-general

From Philippe Schmid
Subject Re: pgsql8b5 not launching on OSX system start; otherwise OK
Date
Msg-id DAA44132-4553-11D9-8065-000A95AFAF5A@cadinfo.ch
Whole thread Raw
In response to Re: pgsql8b5 not launching on OSX system start; otherwise OK  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
>> i've a new install of pgsql8b5 running on OSX 10.3.6.
>> ...
>> however, if i place an identical startup string in my OSX's
>> StartupItem for
>> pgsql & reboot, pgsql does not start on boot.
>
> I was trying to reproduce this on my own machine, but couldn't get out
> of the starting gate.  I put an executable shell script into
> "/System Folder/Startup Items", but I couldn't see any evidence that
> the
> system paid any attention to it at all.  Exactly what are you doing to
> tell OSX to run a bit of shell script at boot time?

You basicall put formatted files in a directory under
/Library/StartupItems
One file should contain scripts for starting, stopping and restarting
the service, the other should contains some generic stuff in a "Plist"
file / XML file.

I use the startup package from Liyanage (site down alas)



sudo systemstarter -help
will give you some info on how to test this without rebooting

HTH,
Philippe Schmid

Attachment

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: pgsql8b5 not launching on OSX system start; otherwise OK
Next
From: vhikida@inreach.com
Date:
Subject: Re: Indexes?