use simpler default value for gitlab_user

This commit is contained in:
Praveen Arimbrathodiyil 2017-02-15 18:04:28 +05:30
parent e9468976bf
commit 5e31e3a779

2
debian/grantpriv.sh vendored
View file

@ -4,7 +4,7 @@ set -e
dbname=gitlab_production dbname=gitlab_production
# Take gitlab_user from envornment variable or use gitlab # Take gitlab_user from envornment variable or use gitlab
test -n "${gitlab_user:-}" || gitlab_user="gitlab" gitlab_user=${gitlab_user:-gitlab}
# If gitlab user cannot access gitlab_production, # If gitlab user cannot access gitlab_production,
# then it means the gitlab role does not exist # then it means the gitlab role does not exist