Read configuration variable file if it is present

This commit is contained in:
Piotr Roszatycki 2013-10-29 17:21:54 +01:00
parent ee0e9830c1
commit 5c98cae9fe
1 changed files with 2 additions and 0 deletions

View File

@ -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