Skip to content
Browse files

Added mongo aliases, modified redis config

  • Loading branch information...
1 parent 968a2b3 commit 723983b1616cd4e0d18982055f7d09ddd46e9775 @dflems committed Jan 15, 2013
Showing with 4 additions and 3 deletions.
  1. +4 −3 db/aliases.zsh
View
7 db/aliases.zsh
@@ -1,11 +1,12 @@
alias pg-up='pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start'
alias pg-down='pg_ctl -D /usr/local/var/postgres stop -s -m fast'
-alias redis-up="redis-server $ZSH/db/redis.conf > /dev/null &"
+alias redis-up="redis-server $ZSH/db/redis.conf"
alias redis-down='killall redis-server'
alias mysql-up='mysql.server start'
alias mysql-down='mysql.server stop'
-alias mongo-up='mongod --fork --logpath /usr/local/var/log/mongodb.log --logappend'
-alias mongo-down='kill -2 $(cat /usr/local/var/mongodb/mongod.lock)' #safe
+# default homebrew mongo log location
+alias mongo-up='mongod --fork --logappend'
+alias mongo-down='killall -2 mongod' #safe

0 comments on commit 723983b

Please sign in to comment.
Something went wrong with that request. Please try again.