base setup fix info order for user/group

This commit is contained in:
2025-07-04 15:01:54 +09:00
parent 37ca4aa824
commit 016e0ece0c

View File

@@ -81,7 +81,7 @@ else
echo "=> Create new folder structure";
# User for sudo, but only if SUDO is enabled
if [ "${USE_SUDO}" != "0" ]; then
echo "+ Add user ${WWW_GROUP}:${SUDO_USER} with base folder ${GIT_WEBHOOK_BASE_FOLDER}";
echo "+ Add user ${SUDO_USER}:${WWW_GROUP} with base folder ${GIT_WEBHOOK_BASE_FOLDER}";
# Note: we need to set bin bash or we cannot use Jump Host
useradd -d "${GIT_WEBHOOK_BASE_FOLDER}" -m -s /bin/bash "${SUDO_USER}"
fi;