Sha256: ad120540414e29a23ddcc675a65722a874936ffd1b7e02356873d555b1eff8ff

Contents?: true

Size: 337 Bytes

Versions: 1

Compression:

Stored size: 337 Bytes

Contents

# Create unicorn configuration file
create_file 'config/unicorn.rb' do
<<-RUBY
worker_processes 4 # amount of unicorn workers to spin up
timeout 30         # restarts workers that hang for 30 seconds
RUBY
end

# Create a foreman procfile
create_file 'Procfile' do
<<-RUBY
web: bundle exec unicorn -p $PORT -c ./config/unicorn.rb
RUBY
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
icebreaker-0.2.0 templates/unicorn.rb