diff options
author | Piotr Roszatycki <piotr.roszatycki@gmail.com> | 2013-10-29 17:21:54 +0100 |
---|---|---|
committer | Piotr Roszatycki <piotr.roszatycki@gmail.com> | 2013-10-29 17:21:54 +0100 |
commit | 5c98cae9fe5e4d90c520277f6415d51d3bc405f8 (patch) | |
tree | 1c5359a9cd83db110bb160f8c050e4696acc2265 /lib/support | |
parent | ee0e9830c1c1e4c54fd0b18fadef50f76c3680a4 (diff) | |
download | gitlab-ce-5c98cae9fe5e4d90c520277f6415d51d3bc405f8.tar.gz |
Read configuration variable file if it is present
Diffstat (limited to 'lib/support')
-rwxr-xr-x | lib/support/init.d/gitlab | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/support/init.d/gitlab b/lib/support/init.d/gitlab index fbb7380ac47..9cf3aa5fe85 100755 --- a/lib/support/init.d/gitlab +++ b/lib/support/init.d/gitlab @@ -31,6 +31,8 @@ sidekiq_pid_path="$pid_path/sidekiq.pid" ### Here ends user configuration ### +# Read configuration variable file if it is present +test -f /etc/default/gitlab && . /etc/default/gitlab # Switch to the app_user if it is not he/she who is running the script. if [ "$USER" != "$app_user" ]; then |