Commits

tednaleid committed 00bb400

adding rabbitmq aliases

Comments (0)

Files changed (1)

-
 ## GENERAL EXPORTS ############################################################################################################
 
 export PYTHONPATH=/usr/local/lib/python2.6/site-packages
 
 export RUBYOPT=rubygems
 
-PATH="$HOME/bin:/usr/local/bin:/usr/local/mysql/bin:$GROOVY_HOME/bin:$GRAILS_HOME/bin:/usr/local/redis:${PATH}"
+PATH="$HOME/bin:/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:$GROOVY_HOME/bin:$GRAILS_HOME/bin:/usr/local/redis:${PATH}"
 #PATH="$HOME/bin:/opt/local/sbin:/opt/local/bin:/usr/local/bin:/usr/local/mysql/bin:/usr/local/tomcat/bin:/usr/local/ant/bin:/usr/local/groovyserv/bin:$GROOVY_HOME/bin:$GRAILS_HOME/bin:$CATALINA_HOME/bin:/usr/local/redis:$M2:$SCALA_HOME/bin:$MONGODB_HOME/bin:$HOME/.gem/ruby/1.8/bin:${PATH}"
 
 
 alias redisstop='sudo launchctl stop io.redis.redis-server'
 
 
+
+## RABBITMQ ############################################################################################################
+
+# to get these to work, I needed to chown the directory created by brew (I might have sudo'ed something I should not have):
+#    cd /usr/local/var/lib/rabbitmq
+#    sudo chown -R `whoami`:staff rabbitmq
+#
+alias rabbitmqstart='launchctl start com.rabbitmq.rabbitmq-server'
+alias rabbitmqstop='launchctl stop com.rabbitmq.rabbitmq-server'