Thread: Darwin/Mac OS X Startup Script

Darwin/Mac OS X Startup Script

From
David Wheeler
Date:
All,

I've simplified the Darwin/Mac OS X startup script I submitted earlier
in the year. This version has only the two files required by the Darwin
startup bundle design. Plus the sh script now uses Darwin-standard
functions to start up PostgreSQL, and it checks for the presence of a
variable in /etc/hostconfig, as do other Darwin startup scripts.

I suggest that a new directory be created,
contrib/start-scripts/darwin, and that these two files be put into it.
Folks who want to use the script can read the comments inside it to
figure out how to use it.

Enjoy,

David

--
David Wheeler                                     AIM: dwTheory
david@wheeler.net                                 ICQ: 15726394
http://david.wheeler.net/                      Yahoo!: dew7e
                                                Jabber: Theory@jabber.org

Attachment

Re: Darwin/Mac OS X Startup Script

From
Bruce Momjian
Date:
Added to /contrib/start-scripts as:

PostgreSQL.darwin               StartupParameters.plist.darwin

Thanks.

---------------------------------------------------------------------------

David Wheeler wrote:
> All,
> 
> I've simplified the Darwin/Mac OS X startup script I submitted earlier 
> in the year. This version has only the two files required by the Darwin 
> startup bundle design. Plus the sh script now uses Darwin-standard 
> functions to start up PostgreSQL, and it checks for the presence of a 
> variable in /etc/hostconfig, as do other Darwin startup scripts.
> 
> I suggest that a new directory be created, 
> contrib/start-scripts/darwin, and that these two files be put into it. 
> Folks who want to use the script can read the comments inside it to 
> figure out how to use it.
> 
> Enjoy,
> 
> David
> 
> -- 
> David Wheeler                                     AIM: dwTheory
> david@wheeler.net                                 ICQ: 15726394
> http://david.wheeler.net/                      Yahoo!: dew7e
>                                                 Jabber: Theory@jabber.org

[ Attachment, skipping... ]

> 
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo@postgresql.org so that your
> message can get through to the mailing list cleanly

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073