Module: Nodex::Servers::Unicorn
- Defined in:
- lib/nodex/servers/unicorn.rb
Instance Method Summary collapse
Instance Method Details
#restart_server ⇒ Object
4 5 6 |
# File 'lib/nodex/servers/unicorn.rb', line 4 def restart_server remote_run "cd #{application_path} && kill -USR2 `cat tmp/pids/unicorn.pid`" end |