BigW Consortium Gitlab

Commit 6869a564 by Dmitriy Zaporozhets

Fix sidekiq chech and added script/check

parent 16b61590
......@@ -888,7 +888,7 @@ namespace :gitlab do
def check_resque_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
else
puts "no".red
......
#!/bin/sh
sudo -u gitlab -H bundle exec rake gitlab:check RAILS_ENV=production
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