Skip to content

Instantly share code, notes, and snippets.

@mmartinson
Forked from tkbeili/gist:62c440635a4f9ac86c24
Last active August 29, 2015 14:07
Show Gist options
  • Save mmartinson/3d68f3de9488f204535a to your computer and use it in GitHub Desktop.
Save mmartinson/3d68f3de9488f204535a to your computer and use it in GitHub Desktop.
Shell commands to config postgres server to start at login
To have launchd start postgresql at login:
mkdir -p ~/Library/LaunchAgents
ln -sfv /usr/local/opt/postgresql/*.plist ~/Library/LaunchAgents
Then to load postgresql now:
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment