Search Postgresql Archives

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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 01/04/2010 07:13 PM, Dave Page wrote:
On Mon, Jan 4, 2010 at 1:42 PM, Chris Withers <chris@xxxxxxxxxxxxxxxx> wrote:
  
Dave Page wrote:
    
On Mon, Jan 4, 2010 at 1:38 PM, Chris Withers <chris@xxxxxxxxxxxxxxxx>
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, the Enterprise Postgres company.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux