Class: Rsm::Unicorn::Start

Inherits:
Base
  • Object
show all
Defined in:
lib/tasks/unicorn/start.rb

Constant Summary

Constants inherited from Base

Base::SERVERS

Constants included from Actions

Actions::TAR_OPTS

Instance Attribute Summary

Attributes inherited from Base

#server, #socket_per_worker, #worker_processes

Instance Method Summary collapse

Methods inherited from Base

#set_destination_root, #set_server, #set_worker_processes, source_root, template_path

Methods included from Actions

#application_root, #downloaded_file, #fetch_temporary_archive, #ruby_binary, #run_ruby_binary, #run_with_bundler, #unpack_compressed_archive

Instance Method Details

#unicorn_railsObject



5
6
7
# File 'lib/tasks/unicorn/start.rb', line 5

def unicorn_rails
  run_with_bundler "unicorn -D -E #{options[:environment]} -c #{application_root.join("config", "unicorn.rb")}"
end