BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
81e60294
Commit
81e60294
authored
May 13, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3897 from LyleE/puma-config-environment-fix
Fixed puma.rb environment setting
parents
419d1eac
85e784cc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
puma.rb.example
config/puma.rb.example
+2
-2
gitlab
lib/support/init.d/gitlab
+1
-1
No files found.
config/puma.rb.example
View file @
81e60294
#!/usr/bin/env puma
# Start Puma with next command:
# RAILS_ENV=production bundle exec puma -
e production -
C ./config/puma.rb
# RAILS_ENV=production bundle exec puma -C ./config/puma.rb
# uncomment and customize to run in non-root path
# note that config/gitlab.yml web path should also be changed
...
...
@@ -19,7 +19,7 @@ directory application_path
#
# The default is “development”.
#
environment
= :production
environment
'production'
# Daemonize the server into the background. Highly suggest that
# this be combined with “pidfile” and “stdout_redirect”.
...
...
lib/support/init.d/gitlab
View file @
81e60294
...
...
@@ -17,7 +17,7 @@
APP_ROOT
=
"/home/git/gitlab"
APP_USER
=
"git"
DAEMON_OPTS
=
"-C
$APP_ROOT
/config/puma.rb
-e production
"
DAEMON_OPTS
=
"-C
$APP_ROOT
/config/puma.rb"
PID_PATH
=
"
$APP_ROOT
/tmp/pids"
WEB_SERVER_PID
=
"
$PID_PATH
/puma.pid"
SIDEKIQ_PID
=
"
$PID_PATH
/sidekiq.pid"
...
...
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