bin/sidekiqctl in sidekiq-3.4.2 vs bin/sidekiqctl in sidekiq-3.5.0

- old
+ new

@@ -58,24 +58,24 @@ def pid @pid ||= File.read(pidfile).to_i end def quiet - `kill -USR1 #{pid}` + Process.kill(:USR1, pid) end def stop - `kill -TERM #{pid}` + Process.kill(:TERM, pid) kill_timeout.times do begin Process.getpgid(pid) rescue Errno::ESRCH FileUtils.rm_f pidfile done 'Sidekiq shut down gracefully.' end sleep 1 end - `kill -9 #{pid}` + Process.kill(:KILL, pid) FileUtils.rm_f pidfile done 'Sidekiq shut down forcefully.' end alias_method :shutdown, :stop end