Re: Yosemite (OSX 10.0) problems with Postgresql

From: Raghu Ram <raghuchennuru(at)gmail(dot)com>
To: Jerry Levan <jerry(dot)levan(at)gmail(dot)com>
Cc: "pgsql-general(at)postgresql(dot)org general" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Yosemite (OSX 10.0) problems with Postgresql
Date: 2014-10-20 13:02:36
Message-ID: CALnrrJSr0YRetxwFnPF3ucTjpzEXO-HAm8KtKqxRkLwEwmpjmg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, Oct 20, 2014 at 5:56 PM, Jerry Levan <jerry(dot)levan(at)gmail(dot)com> wrote:

> 2) SystemStarter is no longer available. Gulp… I am not a very good plist
> creator.
> Is there a fairly generic plist I can edit to specify my locations of the
> software bits so I can have postgresql started at boot time?
>

## Enable PostgreSQL to auto start in Mac OS X 10.7.x (Lion)
sudo launchctl load -w
/Library/LaunchDaemons/com.edb.launchd.postgresql-9.1.plist

NOTE: "com.edb.launchd.postgresql-9.1.plist" file contains PostgreSQL
Data directory and PostgreSQL binary locations.

## Manually Start PostgreSQL
## su as user "postgres" and run server [sudo su - postgres]:
cd /Library/PostgreSQL/9.1/bin/
./pg_ctl -D /Library/PostgreSQL/9.1/data/ start

## Manually Stop PostgreSQL
./pg_ctl -D /Library/PostgreSQL/9.1/data/ stop

Thanks & Regards

Raghu Ram

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Israel Brewster 2014-10-20 15:54:51 Re: Yosemite (OSX 10.0) problems with Postgresql
Previous Message Jerry Levan 2014-10-20 13:00:08 Re: Yosemite (OSX 10.0) problems with Postgresql