Class: Blazing::Recipe::UnicornRestart
- Inherits:
-
Blazing::Recipe
- Object
- Blazing::Recipe
- Blazing::Recipe::UnicornRestart
- Defined in:
- lib/appboost/blazing/unicorn_restart.rb
Instance Method Summary collapse
Instance Method Details
#run(target_options = {}) ⇒ Object
5 6 7 8 9 10 |
# File 'lib/appboost/blazing/unicorn_restart.rb', line 5 def run( = {}) super info "restarting unicorn" system "#{sudo} kill -USR2 #{unicorn_pid}" end |