Created
January 16, 2014 00:41
-
-
Save kaievns/8447712 to your computer and use it in GitHub Desktop.
Makes zeus to run all your ruby processes through a Procfile
This file contains hidden or 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
zeus: echo "Spawining Zeus..." && zeus start &> /dev/null | |
resque1: sleep 2 && zeus rake resque:work RAILS_ENV=development COUNT=1 QUEUE=* | |
resque2: sleep 2 && zeus rake resque:work RAILS_ENV=development COUNT=1 QUEUE=* | |
resque3: sleep 2 && zeus rake resque:work RAILS_ENV=development COUNT=1 QUEUE=* | |
web: sleep 2 && zeus server |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment