Setting environment variables on OS X

Bruno is right on track. I’ve done extensive research and if you want to set variables that are available in all GUI applications, your only option is /etc/launchd.conf. Please note that environment.plist does not work for applications launched via Spotlight. This is documented by Steve Sexton here. Open a terminal prompt Type sudo vi /etc/launchd.conf … Read more

How can I start PostgreSQL server on Mac OS X?

The Homebrew package manager includes launchctl plists to start automatically. For more information, run brew info postgres. Start manually pg_ctl -D /usr/local/var/postgres start Stop manually pg_ctl -D /usr/local/var/postgres stop Start automatically “To have launchd start postgresql now and restart at login:” brew services start postgresql What is the result of pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log … Read more