Skip to content

Commit

Permalink
Merge pull request ddollar#192 from pat2man/patch-1
Browse files Browse the repository at this point in the history
Add stop_grace_time to bluepill config
  • Loading branch information
ddollar committed May 3, 2012
2 parents e0fe5ba + 53e0f4e commit a83dab3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions data/export/bluepill/master.pill.erb
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Bluepill.application("<%= app %>", :foreground => false, :log_file => "/var/log/
process.daemonize = true
process.environment = {"PORT" => "<%= port %>"}
process.stop_signals = [:quit, 30.seconds, :term, 5.seconds, :kill]
process.stop_grace_time = 45.seconds

process.stdout = process.stderr = "<%= log_root %>/<%= app %>-<%= process.name %>-<%=num%>.log"

Expand Down

0 comments on commit a83dab3

Please sign in to comment.