use foremans formation option and not the alias concurrency, start unicorn_rails instead of unicorn
This commit is contained in:
parent
f506c9c71e
commit
e75aa111e3
3 changed files with 3 additions and 3 deletions
2
.foreman
2
.foreman
|
|
@ -1,2 +1,2 @@
|
|||
port: 3000
|
||||
concurrency: web=1,worker=0
|
||||
formation: web=1,worker=0
|
||||
|
|
|
|||
2
Procfile
2
Procfile
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -113,4 +113,4 @@ else
|
|||
fi
|
||||
echo ""
|
||||
|
||||
bundle exec foreman start -c "web=1,worker=$workers" -p $port
|
||||
bundle exec foreman start -m "web=1,worker=$workers" -p $port
|
||||
|
|
|
|||
Loading…
Reference in a new issue