add to gitlab group

This commit is contained in:
Praveen Arimbrathodiyil 2016-08-15 14:29:01 +05:30
parent 973653590e
commit 90248657ec

2
debian/adduser.sh vendored
View file

@ -9,6 +9,6 @@ test -n "${gitlab_user}" || gitlab_user="gitlab"
# Create gitlab user with home in /var/lib
echo "Creating/updating ${gitlab_user} user account..."
adduser --system --home /var/lib/${gitlab_user} --gecos "${gitlab_user} user" --shell /bin/sh \
--quiet --disabled-password ${gitlab_user} || {
--quiet --disabled-password --group ${gitlab_user} || {
echo "Proceeding with existing ${gitlab_user} user..."
}