Skip to content

Instantly share code, notes, and snippets.

@jbgreer
Created July 14, 2012 15:12
Show Gist options
  • Select an option

  • Save jbgreer/3111765 to your computer and use it in GitHub Desktop.

Select an option

Save jbgreer/3111765 to your computer and use it in GitHub Desktop.
Mac OS X Lion brew installed PostgreSQL auto-start on login
mkdir -p ~/Library/LaunchAgents
cp /usr/local/Cellar/postgresql/9.1.4/homebrew.mxcl.postgresql.plist ~/Library/LaunchAgents/
launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment