use simpler default value for gitlab_user
This commit is contained in:
parent
e9468976bf
commit
5e31e3a779
1 changed files with 1 additions and 1 deletions
2
debian/grantpriv.sh
vendored
2
debian/grantpriv.sh
vendored
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue