Skip to content
代码片段 群组 项目
提交 6869a564 编辑于 作者: Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
浏览文件

Fix sidekiq chech and added script/check

上级 16b61590
No related branches found
No related tags found
无相关合并请求
...@@ -888,7 +888,7 @@ namespace :gitlab do ...@@ -888,7 +888,7 @@ namespace :gitlab do
def check_resque_running def check_resque_running
print "Running? ... " print "Running? ... "
if run_and_match("ps aux | grep -i sidekiq", /sidekiq-[\d\.]+:.+$/) if run_and_match("ps aux | grep -i sidekiq", /sidekiq \d\.\d\.\d.+$/)
puts "yes".green puts "yes".green
else else
puts "no".red puts "no".red
......
#!/bin/sh
sudo -u gitlab -H bundle exec rake gitlab:check RAILS_ENV=production
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册