Add invert match to sidekiq match.
This commit is contained in:
parent
615d859f94
commit
f3d77a7661
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue