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

From: Sachin Srivastava <sachin(dot)srivastava(at)enterprisedb(dot)com>
To: Dave Page <dpage(at)pgadmin(dot)org>
Cc: Chris Withers <chris(at)simplistix(dot)co(dot)uk>, Naoko Reeves <naokoreeves(at)gmail(dot)com>, pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: how do I disable automatic start on mac os x?
Date: 2010-01-04 14:33:08
Message-ID: 4B41FC24.9090408@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 01/04/2010 07:13 PM, Dave Page wrote:
> On Mon, Jan 4, 2010 at 1:42 PM, Chris Withers<chris(at)simplistix(dot)co(dot)uk> wrote:
>
>> Dave Page wrote:
>>
>>> On Mon, Jan 4, 2010 at 1:38 PM, Chris Withers<chris(at)simplistix(dot)co(dot)uk>
>>> wrote:
>>>
>>>> Naoko Reeves wrote:
>>>>
>>>>> Try check this directory: Library: StartupItems: postgres-plus-8.xx
>>>>> there should be script to start automatically.
>>>>>
>>>> /Library/StartupItems is empty.
>>>>
>>>> I think putting stuff in there is an old-fashioned way of doing things
>>>> that
>>>> went out with Mac OS X 10.4, and I'm glad to say it looks like the latest
>>>> postgres doesn't install like this..
>>>>
>>> Look in /Library/LaunchDaemons/
>>>
>> Ah, there it is... but now what do I do with it to disable the auto-start?
>>
> Iirc, you have to change:
>
> <key>RunAtLoad</key>
> <true/>
>
> to
>
> <key>RunAtLoad</key>
> <false/>
>
> Sachin; can you confirm please?
>
Yes. Though the daemon is loaded during startup.
and you can start it by using launchctl as ( sudo launchctl start
com.edb.launchd. postgresql-8.4).
Also you can always move/delete the plist file to avoid that also.

--
Regards,
Sachin Srivastava
EnterpriseDB <http://www.enterprisedb.com>, the Enterprise Postgres
<http://www.enterprisedb.com> company.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Dave Page 2010-01-04 14:33:09 Re: how do I disable automatic start on mac os x?
Previous Message Chris Withers 2010-01-04 14:32:21 Re: how do I disable automatic start on mac os x?