Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Postgres start/stop aliases

  • Loading branch information...
commit c636cdd380aa02bcc6f6f1cd846a36a3bb6e6cc7 1 parent bdeda04
Matt Johnson and Niko Felger authored
Showing with 5 additions and 1 deletion.
  1. +5 −1 bash/aliases
View
6 bash/aliases
@@ -48,5 +48,9 @@ alias gxc='gitx -c'
alias mstart='/usr/local/Cellar/mysql/5.1.45/share/mysql/mysql.server start'
alias mstop='/usr/local/Cellar/mysql/5.1.45/share/mysql/mysql.server stop'
-alias ms='mongod run --config /usr/local/Cellar/mongodb/1.2.0-x86_64/mongod.conf'
+# postgres
+alias pstart='pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start'
+alias pstop='pg_ctl -D /usr/local/var/postgres stop -s -m fast'
+
+alias ms='mongod run --config /usr/local/Cellar/mongodb/1.2.4-x86_64/mongod.conf'
Please sign in to comment.
Something went wrong with that request. Please try again.