Class: Cany::Recipes::Unicorn
- Inherits:
-
WebServer
- Object
- Cany::Recipe
- WebServer
- Cany::Recipes::Unicorn
- Defined in:
- lib/cany/recipes/unicorn.rb
Overview
Note:
The receives relies that the ‘unicorn’ gem is included in your Gemfile and therefore installed via bundler (and the bundler recipe).
This recipes install the Unicorn Rack HTTP server. It is registered and started as service.
Instance Attribute Summary
Attributes inherited from WebServer
Attributes inherited from Cany::Recipe
Instance Method Summary collapse
Methods inherited from WebServer
Methods inherited from Cany::Recipe
#binary, #build, #clean, #configure, #create, #depend, #exec, from_name, #hook, hook, #initialize, #install, #install_content, #install_dir, #install_link, #install_service, option, #option, #prepare, #recipe, register_as, #rmtree, #ruby_bin, #run_hook
Methods included from Mixins::DependMixin
Constructor Details
This class inherits a constructor from Cany::Recipes::WebServer
Instance Method Details
#launch_command ⇒ Object
12 13 14 |
# File 'lib/cany/recipes/unicorn.rb', line 12 def launch_command %W(unicorn --config-file /etc/#{spec.name}/unicorn.rb --env production) end |