use foremans formation option and not the alias concurrency, start unicorn_rails instead of unicorn

This commit is contained in:
Jonne Haß 2012-11-04 17:05:16 +01:00
parent f506c9c71e
commit e75aa111e3
3 changed files with 3 additions and 3 deletions

View file

@ -1,2 +1,2 @@
port: 3000 port: 3000
concurrency: web=1,worker=0 formation: web=1,worker=0

View file

@ -1,2 +1,2 @@
web: bundle exec unicorn -c config/unicorn.rb -p $PORT web: bundle exec unicorn_rails -c config/unicorn.rb -p $PORT
worker: env QUEUE=* bundle exec rake resque:work worker: env QUEUE=* bundle exec rake resque:work

View file

@ -113,4 +113,4 @@ else
fi fi
echo "" echo ""
bundle exec foreman start -c "web=1,worker=$workers" -p $port bundle exec foreman start -m "web=1,worker=$workers" -p $port