Class: Rsm::Unicorn::Start

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

Constant Summary

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, #run_ruby_binary, #unpack_compressed_archive

Instance Method Details

- (Object) unicorn_rails



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

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