Commit 6869a564 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix sidekiq chech and added script/check

parent 16b61590
...@@ -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
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