Give gitlab_user ownership of gitlab_data_dir

This commit is contained in:
Pirate Praveen 2018-10-13 18:06:30 +05:30
parent b3e81c1955
commit 783bc8432c

3
debian/adduser.sh vendored
View file

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