Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
7cd03836
Commit
7cd03836
authored
Jan 10, 2013
by
Riyad Preukschas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix sidekiq check task
parent
4eac403e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
9 deletions
+7
-9
lib/tasks/gitlab/check.rake
lib/tasks/gitlab/check.rake
+7
-9
No files found.
lib/tasks/gitlab/check.rake
View file @
7cd03836
...
...
@@ -2,7 +2,7 @@ namespace :gitlab do
desc
"GITLAB | Check the configuration of GitLab and its environment"
task
check:
%w{gitlab:env:check
gitlab:gitolite:check
gitlab:
resque
:check
gitlab:
sidekiq
:check
gitlab:app:check}
...
...
@@ -870,22 +870,22 @@ namespace :gitlab do
namespace
:
resque
do
namespace
:
sidekiq
do
desc
"GITLAB | Check the configuration of Sidekiq"
task
check: :environment
do
warn_user_is_not_gitlab
start_checking
"
Resque
"
start_checking
"
Sidekiq
"
check_
resque
_running
check_
sidekiq
_running
finished_checking
"
Resque
"
finished_checking
"
Sidekiq
"
end
# Checks
########################
def
check_
resque
_running
def
check_
sidekiq
_running
print
"Running? ... "
if
run_and_match
(
"ps aux | grep -i sidekiq"
,
/sidekiq \d\.\d\.\d.+$/
)
...
...
@@ -893,9 +893,7 @@ namespace :gitlab do
else
puts
"no"
.
red
try_fixing_it
(
"sudo service gitlab restart"
,
"or"
,
"sudo /etc/init.d/gitlab restart"
"sudo -u gitlab -H bundle exec rake sidekiq:start"
)
for_more_information
(
see_installation_guide_section
(
"Install Init Script"
),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment