Give gitlab_user ownership of gitlab_data_dir
This commit is contained in:
parent
b3e81c1955
commit
783bc8432c
1 changed files with 3 additions and 0 deletions
3
debian/adduser.sh
vendored
3
debian/adduser.sh
vendored
|
@ -15,3 +15,6 @@ adduser --system --home /var/lib/gitlab --gecos "${gitlab_user} user" --shell /b
|
|||
--quiet --disabled-password --group ${gitlab_user} || {
|
||||
echo "Proceeding with existing ${gitlab_user} user..."
|
||||
}
|
||||
|
||||
# Give gitlab_user ownership of gitlab_data_dir
|
||||
chown ${gitlab_user} ${gitlab_data_dir}
|
||||
|
|
Loading…
Reference in a new issue