Fix sidekiq chech and added script/check
This commit is contained in:
parent
16b61590ab
commit
6869a56403
|
@ -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
|
||||
|
|
2
script/check
Executable file
2
script/check
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
sudo -u gitlab -H bundle exec rake gitlab:check RAILS_ENV=production
|
Loading…
Reference in a new issue