base setup fix info order for user/group
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user