diff --git a/lib/unicorn/worker_killer.rb b/lib/unicorn/worker_killer.rb index 2bec0b0..a60d843 100644 --- a/lib/unicorn/worker_killer.rb +++ b/lib/unicorn/worker_killer.rb @@ -15,7 +15,7 @@ def self.kill_self(logger, start_time) sig = :KILL end - logger.warn "#{self} send SIGTERM (pid: #{Process.pid}) alive: #{alive_sec} sec (trial #{i})" + logger.warn "#{self} send SIG#{sig} (pid: #{Process.pid}) alive: #{alive_sec} sec (trial #{i})" Process.kill sig, Process.pid sleep 1 # TODO configurable sleep