Skip site navigation (1) Skip section navigation (2)

Re: Disable autostart on Mac?

From: Michael Wood <esiotrot(at)gmail(dot)com>
To: MattK <bsg075(at)gmail(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Disable autostart on Mac?
Date: 2010-06-26 23:38:38
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-novice
On 24 June 2010 02:44, MattK <bsg075(at)gmail(dot)com> wrote:
> On 9.0 beta 2, I have tried to prevent autostart of the database engine via
> the by the process shown
> in
> Leaving the file in place and setting the <key>RunAtLoad</key> to <false/>
> does not seem to have any effect.
> The only method that I have found to work is to remove
> the com.edb.launchd.postgresql-x.x.plist file from the LaunchDaemons
> directory. But I would prefer to leave it in place, and change as needed.
> Thoughts?


$ sudo launchctl unload -w

Then to re-enable:

$ sudo launchctl load -w

The "unload -w" should add a <Disabled><true/> key to the plist file.
If for some reason that doesn't work, manually add the Disabled key.

Michael Wood <esiotrot(at)gmail(dot)com>

In response to

pgsql-novice by date

Next:From: Jasen BettsDate: 2010-06-27 12:08:05
Subject: Re: escape
Previous:From: Mag GamDate: 2010-06-26 22:22:19
Subject: Re: setting up a table relationship

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group