Skip to content

Instantly share code, notes, and snippets.

@sadfuzzy
Created April 22, 2014 15:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sadfuzzy/11182882 to your computer and use it in GitHub Desktop.
Save sadfuzzy/11182882 to your computer and use it in GitHub Desktop.
Disable PostgreSQL EnterpriseDB's Apache server and enable nginx in Mac OS X

Disable PostgreSQL EnterpriseDB's Apache server and enable nginx in Mac OS X

Disable PostgreSQL EnterpriseDB's Apache server

sudo launchctl unload /Library/LaunchDaemons/com.edb.launchd.postgresql-x.x.plist
sudo rm -f /Library/LaunchDaemons/com.edb.launchd.postgresql-x.x.plist

Enable nginx, installed through brew

sudo cp /usr/local/opt/nginx/homebrew.mxcl.nginx.plist /Library/LaunchDaemons/
sudo launchctl load /Library/LaunchDaemons/homebrew.mxcl.nginx.plist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment