Sha256: b789b8fa34a3eca1913e4cd0f8a3b046d90365f5e4d6d432d5c2bfc3e4c66daf

Contents?: true

Size: 550 Bytes

Versions: 13

Compression:

Stored size: 550 Bytes

Contents

module Cany::Recipes
  # This recipes install the Unicorn Rack HTTP server. It is registered
  # and started as service.
  #
  # @see http://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).
  class Unicorn < WebServer
    register_as :unicorn

    def launch_command
      %W(unicorn --config-file /etc/#{spec.name}/unicorn.rb --env production)
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
cany-0.5.7 lib/cany/recipes/unicorn.rb
cany-0.5.6 lib/cany/recipes/unicorn.rb
cany-0.5.5 lib/cany/recipes/unicorn.rb
cany-0.5.4 lib/cany/recipes/unicorn.rb
cany-0.5.3 lib/cany/recipes/unicorn.rb
cany-0.5.2 lib/cany/recipes/unicorn.rb
cany-0.5.1 lib/cany/recipes/unicorn.rb
cany-0.5.0 lib/cany/recipes/unicorn.rb
cany-0.4.0 lib/cany/recipes/unicorn.rb
cany-0.3.0 lib/cany/recipes/unicorn.rb
cany-0.2.1 lib/cany/recipes/unicorn.rb
cany-0.2.0 lib/cany/recipes/unicorn.rb
cany-0.1.3 lib/cany/recipes/unicorn.rb