Commit 31cdb7a4 authored by Jacob Vosmaer's avatar Jacob Vosmaer

Merge pull request #5471 from dex4er/feature_etc_default_gitlab

Read configuration variable file (/etc/default/gitlab) if it is present
parents abf11135 5c98cae9
...@@ -31,6 +31,8 @@ sidekiq_pid_path="$pid_path/sidekiq.pid" ...@@ -31,6 +31,8 @@ sidekiq_pid_path="$pid_path/sidekiq.pid"
### Here ends user configuration ### ### 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. # Switch to the app_user if it is not he/she who is running the script.
if [ "$USER" != "$app_user" ]; then if [ "$USER" != "$app_user" ]; then
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment