Read configuration variable file if it is present
This commit is contained in:
parent
ee0e9830c1
commit
5c98cae9fe
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue