Skip to content

Instantly share code, notes, and snippets.

@kaievns
Created January 16, 2014 00:41
Show Gist options
  • Save kaievns/8447712 to your computer and use it in GitHub Desktop.
Save kaievns/8447712 to your computer and use it in GitHub Desktop.
Makes zeus to run all your ruby processes through a Procfile
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