Skip to content

Commit 6869a56

Browse files
committed
Fix sidekiq chech and added script/check
1 parent 16b6159 commit 6869a56

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

lib/tasks/gitlab/check.rake

+1-1
Original file line numberDiff line numberDiff line change
@@ -888,7 +888,7 @@ namespace :gitlab do
888888
def check_resque_running
889889
print "Running? ... "
890890

891-
if run_and_match("ps aux | grep -i sidekiq", /sidekiq-[\d\.]+:.+$/)
891+
if run_and_match("ps aux | grep -i sidekiq", /sidekiq \d\.\d\.\d.+$/)
892892
puts "yes".green
893893
else
894894
puts "no".red

script/check

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/bin/sh
2+
sudo -u gitlab -H bundle exec rake gitlab:check RAILS_ENV=production

0 commit comments

Comments
 (0)