so detail oriented

This commit is contained in:
David Blacka 2023-02-28 17:38:15 -05:00
parent 6152fb27aa
commit ece158882f

View File

@ -9,7 +9,7 @@ HOST_GIT_UID=895
# Note we want 'git' as the user, since every other git hosting system uses that
if ! id -u "$HOST_GIT_UID" >/dev/null 2>&1; then
groupadd -g "$HOST_GIT_UID" "$HOST_GIT_GROUP"
useradd -u "$HOST_GIT_UID" -g "$HOST_GIT_USER" -G docker -d "$GITEA_HOME" -m "$HOST_GIT_USER"
useradd -u "$HOST_GIT_UID" -g "$HOST_GIT_GROUP" -G docker -d "$GITEA_HOME" -m "$HOST_GIT_USER"
fi
install -d "$GITEA_HOME/data"