Commit f3d77a76 authored by Marin Jankovski's avatar Marin Jankovski

Add invert match to sidekiq match.

parent 615d859f
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment