Skip to content

Commit

Permalink
Default to QUIT signal instead of KILL, per the Resque docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
rtlong committed Feb 18, 2012
1 parent d18c8fa commit 9626ae1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/guard/resque.rb
Expand Up @@ -11,11 +11,11 @@ class Resque < Guard
# :count e.g. 3
# :verbose e.g. true
# :trace e.g. true
# :stop_signal e.g. KILL
# :stop_signal e.g. QUIT
def initialize(watchers = [], options = {})
@options = options
@pid = nil
@stop_signal = options[:stop_signal] || "KILL"
@stop_signal = options[:stop_signal] || "QUIT"
super
end

Expand Down

0 comments on commit 9626ae1

Please sign in to comment.