Advertisement
Guest User

Untitled

a guest
Sep 26th, 2016
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. # Location: cookbooks/unicorn/recipes/rails-application.rb
  2.  
  3. # As with the deploy.rb for capistrano, runit expects 2 to tell it to send
  4. # the USR2 signal to the process. Configure the runit service to use that
  5. # for the restart comment. Also, chef-client runs every 30 minutes and
  6. # will run the restart command every run unless you tell it not to.
  7.  
  8. runit_service 'rails-application' do
  9. restart_command '2'
  10. run_restart false
  11. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement