Compare commits
3 Commits
corekeeper
...
beta
Author | SHA1 | Date | |
---|---|---|---|
45889f9d54 | |||
26d8027eac | |||
e77a8bcfe6 |
@@ -14,7 +14,7 @@ This Docker will download and install SteamCMD and the according game that is pu
|
|||||||
| UID | User Identifier | 99 |
|
| UID | User Identifier | 99 |
|
||||||
| GID | Group Identifier | 100 |
|
| GID | Group Identifier | 100 |
|
||||||
| GAME_PORT | Port the server will be running on | 27015 |
|
| GAME_PORT | Port the server will be running on | 27015 |
|
||||||
| VALIDATE | Validates the game data | true |
|
| VALIDATE | Validates the game data | false |
|
||||||
| USERNAME | Leave blank for anonymous login | blank |
|
| USERNAME | Leave blank for anonymous login | blank |
|
||||||
| PASSWRD | Leave blank for anonymous login | blank |
|
| PASSWRD | Leave blank for anonymous login | blank |
|
||||||
|
|
||||||
|
@@ -51,11 +51,11 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo "---Prepare Server---"
|
echo "---Prepare Server---"
|
||||||
if [ ! -f ${DATA_DIR}/.steam/sdk32/steamclient.so ]; then
|
if [ ! -f ${DATA_DIR}/.steam/sdk64/steamclient.so ]; then
|
||||||
if [ ! -d ${DATA_DIR}/.steam/sdk32 ]; then
|
if [ ! -d ${DATA_DIR}/.steam/sdk64 ]; then
|
||||||
mkdir -p ${DATA_DIR}/.steam/sdk32
|
mkdir -p ${DATA_DIR}/.steam/sdk64
|
||||||
fi
|
fi
|
||||||
cp -R ${STEAMCMD_DIR}/linux32/* ${DATA_DIR}/.steam/sdk32/
|
cp -R ${STEAMCMD_DIR}/linux64/* ${DATA_DIR}/.steam/sdk64/
|
||||||
fi
|
fi
|
||||||
chmod -R ${DATA_PERM} ${DATA_DIR}
|
chmod -R ${DATA_PERM} ${DATA_DIR}
|
||||||
echo "---Server ready---"
|
echo "---Server ready---"
|
||||||
|
@@ -13,7 +13,7 @@ cp -f /opt/scripts/user.sh /opt/scripts/start-user.sh > /dev/null 2>&1 ||:
|
|||||||
|
|
||||||
if [ -f /opt/scripts/start-user.sh ]; then
|
if [ -f /opt/scripts/start-user.sh ]; then
|
||||||
echo "---Found optional script, executing---"
|
echo "---Found optional script, executing---"
|
||||||
chmod -f +x /opt/scripts/start-user.sh.sh ||:
|
chmod -f +x /opt/scripts/start-user.sh ||:
|
||||||
/opt/scripts/start-user.sh || echo "---Optional Script has thrown an Error---"
|
/opt/scripts/start-user.sh || echo "---Optional Script has thrown an Error---"
|
||||||
else
|
else
|
||||||
echo "---No optional script found, continuing---"
|
echo "---No optional script found, continuing---"
|
||||||
|
Reference in New Issue
Block a user