class Cany::Recipes::Unicorn
This recipes install the Unicorn
Rack HTTP server. It is registered and started as service.
@see unicorn.bogomips.org/ The project website for more
information about the project
@note The receives relies that the 'unicorn' gem is included in your
Gemfile and therefore installed via bundler (and the bundler recipe).
Public Instance Methods
launch_command()
click to toggle source
# File lib/cany/recipes/unicorn.rb, line 12 def launch_command %W(unicorn --config-file /etc/#{spec.name}/unicorn.rb --env production) end