Commit bb9e01cba6650c9e4aad920596647a65b85adc7e
Exists in
spb-stable
and in
3 other branches
Merge branch 'init.d' of /mnt/ebs/repositories/arifali1/gitlab-ce
Showing
2 changed files
with
18 additions
and
1 deletions
Show diff stats
lib/support/init.d/gitlab
| ... | ... | @@ -20,7 +20,7 @@ |
| 20 | 20 | # DO NOT EDIT THIS FILE! |
| 21 | 21 | # This file will be overwritten on update. |
| 22 | 22 | # Instead add/change your variables in /etc/default/gitlab |
| 23 | -# An example defaults file can be found in lib/support/default/gitlab | |
| 23 | +# An example defaults file can be found in lib/support/init.d/gitlab.default.example | |
| 24 | 24 | ### |
| 25 | 25 | |
| 26 | 26 | ... | ... |
lib/support/init.d/gitlab.default.example
| ... | ... | @@ -12,3 +12,20 @@ app_user="git" |
| 12 | 12 | # app_root defines the folder in which gitlab and it's components are installed. |
| 13 | 13 | # The default is "/home/$app_user/gitlab" |
| 14 | 14 | app_root="/home/$app_user/gitlab" |
| 15 | + | |
| 16 | +# pid_path defines a folder in which the gitlab and it's components place their pids. | |
| 17 | +# This variable is also used below to define the relevant pids for the gitlab components. | |
| 18 | +# The default is "$app_root/tmp/pids" | |
| 19 | +pid_path="$app_root/tmp/pids" | |
| 20 | + | |
| 21 | +# socket_path defines the folder in which gitlab places the sockets | |
| 22 | +#The default is "$app_root/tmp/sockets" | |
| 23 | +socket_path="$app_root/tmp/sockets" | |
| 24 | + | |
| 25 | +# web_server_pid_path defines the path in which to create the pid file fo the web_server | |
| 26 | +# The default is "$pid_path/unicorn.pid" | |
| 27 | +web_server_pid_path="$pid_path/unicorn.pid" | |
| 28 | + | |
| 29 | +# sidekiq_pid_path defines the path in which to create the pid file for sidekiq | |
| 30 | +# The default is "$pid_path/sidekiq.pid" | |
| 31 | +sidekiq_pid_path="$pid_path/sidekiq.pid" | ... | ... |