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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kazuhiko Shiozaki
gitlab-ce
Commits
6869a564
Commit
6869a564
authored
Jan 09, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix sidekiq chech and added script/check
parent
16b61590
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
lib/tasks/gitlab/check.rake
lib/tasks/gitlab/check.rake
+1
-1
script/check
script/check
+2
-0
No files found.
lib/tasks/gitlab/check.rake
View file @
6869a564
...
@@ -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
...
...
script/check
0 → 100755
View file @
6869a564
#!/bin/sh
sudo
-u
gitlab
-H
bundle
exec
rake gitlab:check
RAILS_ENV
=
production
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