Browse files

kill after flushing for pixel ping

  • Loading branch information...
1 parent ca71c13 commit 28460076103776d3764370b3ae0ec96b1aa2bdf9 @thejefflarson thejefflarson committed Oct 7, 2010
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/tasks/pixel.rake
View
2 lib/tasks/pixel.rake
@@ -6,6 +6,8 @@ namespace :pixel do
pid = File.read PID_FILE
begin
Process.kill("USR1", pid.to_i)
+ sleep 1
+ Process.kill("INT", pid.to_i)
rescue
puts "No matching process."
end

0 comments on commit 2846007

Please sign in to comment.