Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I installed PostgreSQL 8.4.4 in Mac OS X. I am pretty happy and I don't want to uninstall it since I do occasional development on it.

But I would definitely like to prevent OS X to run it every time the machine boots up.

What's the "Mac OS way" of doing that? In Linux I would turn off the service in some runlevels, but I don't know how to do the same in Mac OS X.

Thanks!

share|improve this question
1  
To start, how did you install it? –  fideli Sep 13 '10 at 19:36
add comment

1 Answer

up vote 2 down vote accepted

Mac OS X uses launchd to replace init.d.

To disable a launchd job you need to find out the name of the plist that has all the details of the job. sudo launchctl unload /PATH/TO/PLIST.

The file is most likely in /Library/LaunchDaemons but the exact name depends on how you installed it (eg. PostgreSQL's distribution, MacPorts, etc.)

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.