Created
January 20, 2014 20:11
-
-
Save vnavarro/8528094 to your computer and use it in GitHub Desktop.
Things to place in my vagrant/machine automation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Postgres | |
##Configuração | |
[Check status no stackoverflow](http://stackoverflow.com/questions/7975414/check-status-of-postgresql-server-mac-os-x) | |
export PGDATA='/usr/local/var/postgres' | |
export PGHOST=localhost | |
alias start-pg='pg_ctl -l $PGDATA/server.log start' | |
alias stop-pg='pg_ctl stop -m fast' | |
alias show-pg-status='pg_ctl status' | |
alias restart-pg='pg_ctl reload' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment