Commit 5c98cae9fe5e4d90c520277f6415d51d3bc405f8
1 parent
ee0e9830
Exists in
master
and in
4 other branches
Read configuration variable file if it is present
Showing
1 changed file
with
2 additions
and
0 deletions
Show diff stats
lib/support/init.d/gitlab
... | ... | @@ -31,6 +31,8 @@ sidekiq_pid_path="$pid_path/sidekiq.pid" |
31 | 31 | |
32 | 32 | ### Here ends user configuration ### |
33 | 33 | |
34 | +# Read configuration variable file if it is present | |
35 | +test -f /etc/default/gitlab && . /etc/default/gitlab | |
34 | 36 | |
35 | 37 | # Switch to the app_user if it is not he/she who is running the script. |
36 | 38 | if [ "$USER" != "$app_user" ]; then | ... | ... |