Class: Rsm::Unicorn::Restart

Inherits:
Base
  • Object
show all
Defined in:
lib/tasks/unicorn/restart.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

#restartObject



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

def restart
  invoke Stop
  invoke Start
end