Update start-server.sh

This commit is contained in:
2019-04-23 11:43:11 +02:00
committed by GitHub
parent 09c44ab82c
commit 42dab09036

View File

@@ -17,10 +17,11 @@ else
+quit
fi
if [ -z "USERNAME" ] then
echo "---Update Server---"
if [ -z "USERNAME" ] && [ ! -f then
echo "You've not entered a Username please execute the following command from the Unraid console for this container: 'docker exec <ContainerName> --user steam /serverdata/steamcmd/steamcmd.sh +login <username> <password> +force_install_dir /serverdata/serverfiles +app_update 233780 validate +quit' please replace the <> with the desctiption. After everything finishes please restart the container."
sleep infinity
else
echo "---Update Server---"
if [ "$VALIDATE" = "true" ]; then
${STEAMCMD_DIR}/steamcmd.sh \
+login $USERNAME $PASSWRD \