提交 f3d77a76 编写于 作者: M Marin Jankovski

Add invert match to sidekiq match.

上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册