Class: Rsm::Unicorn::Stop
- Defined in:
- lib/tasks/unicorn/stop.rb
Constant Summary
Constants inherited from Base
Constants included from Actions
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_rails ⇒ Object
5 6 7 8 9 |
# File 'lib/tasks/unicorn/stop.rb', line 5 def unicorn_rails inside "." do run "kill $(cat tmp/pids/unicorn.#{[:environment]}.pid)" end end |