unicorn-directory-watcher 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- data/lib/unicorn_directory_watcher.rb +4 -1
- data/lib/unicorn_directory_watcher/version.rb +1 -1
- metadata +1 -1
data/Gemfile.lock
CHANGED
@@ -59,7 +59,10 @@ module UnicornDirectoryWatcher
|
|
59
59
|
# wrap this in a lambda, just to avoid repeating it
|
60
60
|
stop = lambda { |sig|
|
61
61
|
master_pid.call.tap do |pid|
|
62
|
-
|
62
|
+
begin
|
63
|
+
Process.kill :QUIT, pid if pid
|
64
|
+
rescue Errno::ESRCH
|
65
|
+
end
|
63
66
|
end
|
64
67
|
directory_watchers.each do |dw|
|
65
68
|
dw.stop
|