Re: how do I disable automatic start on mac os x?

From: Scott Ribe <scott_ribe(at)elevated-dev(dot)com>
To: edwardIshaq <edward(dot)ishaq(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: how do I disable automatic start on mac os x?
Date: 2011-08-31 16:24:32
Message-ID: 04978F39-1805-434F-9FC6-925418537648@elevated-dev.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Aug 31, 2011, at 8:46 AM, edwardIshaq wrote:

> if you do:
> open
> OS X will open the file in the plist editor.
> I tried doing that but didn't get a way with saving though :)

Probably a privileges violation, right? In a prior message on this thread I suggested:

sudo launchctl unload -w blahblahblah.plist

I also said: "The -w option causes it to not only unload the item, but also write a
<disabled> key into it which will stop it from loading at launch."

That is no longer true. Instead of the disabled key, 10.6 & up (or was it 10.5 & up?) now keep track of enabled/disabled elsewhere, so you really need to use launchctl instead of editing the plist.

--
Scott Ribe
scott_ribe(at)elevated-dev(dot)com
http://www.elevated-dev.com/
(303) 722-0567 voice

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Pavel Stehule 2011-08-31 16:29:17 Re: out of memory - no sort
Previous Message Bruce Momjian 2011-08-31 16:23:07 Re: [GENERAL] pg_upgrade problem