Add invert match to sidekiq match.

This commit is contained in:
Marin Jankovski 2013-10-16 13:39:09 +02:00
parent 615d859f94
commit f3d77a7661
1 changed files with 1 additions and 1 deletions

View File

@ -678,7 +678,7 @@ namespace :gitlab do
end
def sidekiq_process_match
run_and_match("ps ux | grep -i sidekiq", /(sidekiq \d+\.\d+\.\d+.+$)/)
run_and_match("ps ux | grep -i sidekiq | grep -v grep", /(sidekiq \d+\.\d+\.\d+.+$)/)
end
end