~ added / changed only commentary / log output

This commit is contained in:
Lucas Briese
2019-10-15 12:38:54 +02:00
parent f86f1150f0
commit a1c035a80a
4 changed files with 11 additions and 6 deletions

View File

@ -1,6 +1,7 @@
FROM debian:stretch-slim
# Const \\ Overwrite Env \\ Configs possible \\ Configs needed
# C.UTF-8 -> en_US.UTF-8
ENV STEAM_PATH="/home/steam" \
SERVER_PATH="/home/steam/serverfiles" \
STEAM_CMD="/home/steam/steamcmd" \

View File

@ -8,7 +8,7 @@ set -o errexit
set -o nounset
set -o pipefail
echo "starting entrypoint.sh"
echo "[entrypoint.sh]starting entrypoint.sh"
set -e
@ -19,12 +19,15 @@ set -e
# --- Install / Update ---
cd "$STEAM_PATH"
if [ -n "$SERVER_EXECUTABLE" ] && [ -e "${STEAM_PATH}/$SERVER_EXECUTABLE" ]; then
echo "[entrypoint.sh]updating..."
./"$SERVER_EXECUTABLE" update-lgsm
./"$SERVER_EXECUTABLE" update
else
echo "[entrypoint.sh]installing..."
bash linuxgsm.sh "$SERVER_GAME"
./"$SERVER_EXECUTABLE" auto-install
fi
echo "[entrypoint.sh]update / installation done!"
if [ -e "/home/prepareServer.sh" ]; then
cd /home