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
Boxiang Sun
gitlab-ce
Commits
447e598e
Commit
447e598e
authored
Dec 15, 2015
by
Jacob Vosmaer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update init script options for gitlab-workhorse
parent
3581927f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
lib/support/init.d/gitlab
lib/support/init.d/gitlab
+2
-1
lib/support/init.d/gitlab.default.example
lib/support/init.d/gitlab.default.example
+1
-1
No files found.
lib/support/init.d/gitlab
View file @
447e598e
...
@@ -33,12 +33,13 @@ app_user="git"
...
@@ -33,12 +33,13 @@ app_user="git"
app_root
=
"/home/
$app_user
/gitlab"
app_root
=
"/home/
$app_user
/gitlab"
pid_path
=
"
$app_root
/tmp/pids"
pid_path
=
"
$app_root
/tmp/pids"
socket_path
=
"
$app_root
/tmp/sockets"
socket_path
=
"
$app_root
/tmp/sockets"
rails_socket
=
"
$socket_path
/gitlab.socket"
web_server_pid_path
=
"
$pid_path
/unicorn.pid"
web_server_pid_path
=
"
$pid_path
/unicorn.pid"
sidekiq_pid_path
=
"
$pid_path
/sidekiq.pid"
sidekiq_pid_path
=
"
$pid_path
/sidekiq.pid"
mail_room_enabled
=
false
mail_room_enabled
=
false
mail_room_pid_path
=
"
$pid_path
/mail_room.pid"
mail_room_pid_path
=
"
$pid_path
/mail_room.pid"
gitlab_workhorse_pid_path
=
"
$pid_path
/gitlab-workhorse.pid"
gitlab_workhorse_pid_path
=
"
$pid_path
/gitlab-workhorse.pid"
gitlab_workhorse_options
=
"-listenUmask 0 -listenNetwork unix -listenAddr
$socket_path
/gitlab-workhorse.socket -authBackend http://127.0.0.1:8080"
gitlab_workhorse_options
=
"-listenUmask 0 -listenNetwork unix -listenAddr
$socket_path
/gitlab-workhorse.socket -authBackend http://127.0.0.1:8080
-authSocket
$rails_socket
-documentRoot
$app_root
/public
"
gitlab_workhorse_log
=
"
$app_root
/log/gitlab-workhorse.log"
gitlab_workhorse_log
=
"
$app_root
/log/gitlab-workhorse.log"
shell_path
=
"/bin/bash"
shell_path
=
"/bin/bash"
...
...
lib/support/init.d/gitlab.default.example
View file @
447e598e
...
@@ -36,7 +36,7 @@ gitlab_workhorse_pid_path="$pid_path/gitlab-workhorse.pid"
...
@@ -36,7 +36,7 @@ gitlab_workhorse_pid_path="$pid_path/gitlab-workhorse.pid"
# '-listenNetwork tcp -listenAddr localhost:8181'.
# '-listenNetwork tcp -listenAddr localhost:8181'.
# The -authBackend setting tells gitlab-workhorse where it can reach
# The -authBackend setting tells gitlab-workhorse where it can reach
# Unicorn.
# Unicorn.
gitlab_workhorse_options="-listenUmask 0 -listenNetwork unix -listenAddr $socket_path/gitlab-workhorse.socket -authBackend http://127.0.0.1:8080"
gitlab_workhorse_options="-listenUmask 0 -listenNetwork unix -listenAddr $socket_path/gitlab-workhorse.socket -authBackend http://127.0.0.1:8080
-authSocket $socket_path/gitlab.socket -documentRoot $app_root/public
"
gitlab_workhorse_log="$app_root/log/gitlab-workhorse.log"
gitlab_workhorse_log="$app_root/log/gitlab-workhorse.log"
# mail_room_enabled specifies whether mail_room, which is used to process incoming email, is enabled.
# mail_room_enabled specifies whether mail_room, which is used to process incoming email, is enabled.
...
...
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