debian-mirror-gitlab/debian/conf/gitlab

69 lines
2.7 KiB
Text
Raw Normal View History

2015-12-15 16:38:32 +05:30
#! /bin/sh
2015-11-11 16:23:27 +05:30
# Copy this lib/support/init.d/gitlab.default.example file to
# /etc/default/gitlab in order for it to apply to your system.
# RAILS_ENV defines the type of installation that is running.
# Normal values are "production", "test" and "development".
RAILS_ENV="production"
2016-02-09 19:30:07 +05:30
# Read and export debian specific configuration
# Only exported variables will be passed on to gitlab app
2016-02-12 17:24:13 +05:30
export $(cat /etc/gitlab/gitlab-debian.conf|xargs)
2015-11-11 16:23:27 +05:30
# app_user defines the user that GitLab is run as.
# The default is "git".
app_user=${gitlab_user}
2015-11-11 16:23:27 +05:30
# app_root defines the folder in which gitlab and it's components are installed.
# The default is "/home/$app_user/gitlab"
app_root=${gitlab_home}
2015-11-11 16:23:27 +05:30
2016-02-13 17:57:09 +05:30
# gitlab_log_dir is defined in /etc/gitlab/gitlab-debian.conf
2015-11-11 16:23:27 +05:30
# pid_path defines a folder in which the gitlab and it's components place their pids.
# This variable is also used below to define the relevant pids for the gitlab components.
# The default is "$app_root/tmp/pids"
2016-02-15 19:00:37 +05:30
pid_path="${gitlab_pid_path}"
2015-11-11 16:23:27 +05:30
# socket_path defines the folder in which gitlab places the sockets
#The default is "$app_root/tmp/sockets"
2016-02-15 19:00:37 +05:30
socket_path="${gitlab_pid_path}"
2015-11-11 16:23:27 +05:30
# web_server_pid_path defines the path in which to create the pid file fo the web_server
# The default is "$pid_path/unicorn.pid"
web_server_pid_path="$pid_path/unicorn.pid"
# sidekiq_pid_path defines the path in which to create the pid file for sidekiq
# The default is "$pid_path/sidekiq.pid"
sidekiq_pid_path="$pid_path/sidekiq.pid"
2016-02-13 17:57:09 +05:30
# sidekiq_logfile defines log file used by sidekiq
sidekiq_logfile="${gitlab_log_dir}/sidekiq.log"
2015-12-17 18:15:41 +05:30
gitlab_workhorse_pid_path="$pid_path/gitlab-workhorse.pid"
# The -listenXxx settings determine where gitlab-workhorse
2015-11-11 16:23:27 +05:30
# listens for connections from NGINX. To listen on localhost:8181, write
# '-listenNetwork tcp -listenAddr localhost:8181'.
2015-12-17 18:15:41 +05:30
# The -authBackend setting tells gitlab-workhorse where it can reach
2015-11-11 16:23:27 +05:30
# Unicorn.
2016-02-13 17:57:09 +05:30
gitlab_workhorse_options="-listenUmask 0 -listenNetwork unix -listenAddr $socket_path/gitlab-workhorse.socket -authBackend http://127.0.0.1:8080"
gitlab_workhorse_log="${gitlab_log_dir}/gitlab-workhorse.log"
2015-11-11 16:23:27 +05:30
# mail_room_enabled specifies whether mail_room, which is used to process incoming email, is enabled.
# This is required for the Reply by email feature.
# The default is "false"
mail_room_enabled=false
# mail_room_pid_path defines the path in which to create the pid file for mail_room
# The default is "$pid_path/mail_room.pid"
mail_room_pid_path="$pid_path/mail_room.pid"
2016-02-15 23:03:46 +05:30
# mail_room_logfile defines log file used by mailroom
mail_room_logfile="${gitlab_log_dir}/mail_room.log"
2015-11-11 16:23:27 +05:30
# shell_path defines the path of shell for "$app_user" in case you are using
# shell other than "bash"
# The default is "/bin/bash"
shell_path="/bin/bash"