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 ...@@ -678,7 +678,7 @@ namespace :gitlab do
end end
def sidekiq_process_match 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
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