„scripts/start-server.sh“ ändern
This commit is contained in:
@@ -1,7 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
echo "---Setting umask to ${UMASK}---"
|
|
||||||
umask ${UMASK}
|
|
||||||
|
|
||||||
if [ ! -f ${STEAMCMD_DIR}/steamcmd.sh ]; then
|
if [ ! -f ${STEAMCMD_DIR}/steamcmd.sh ]; then
|
||||||
echo "SteamCMD not found!"
|
echo "SteamCMD not found!"
|
||||||
wget -q -O ${STEAMCMD_DIR}/steamcmd_linux.tar.gz http://media.steampowered.com/client/steamcmd_linux.tar.gz
|
wget -q -O ${STEAMCMD_DIR}/steamcmd_linux.tar.gz http://media.steampowered.com/client/steamcmd_linux.tar.gz
|
||||||
@@ -54,7 +51,7 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo "---Prepare Server---"
|
echo "---Prepare Server---"
|
||||||
chmod -R 777 ${DATA_DIR}
|
chmod -R ${DATA_PERM} ${DATA_DIR}
|
||||||
find ${SERVER_DIR} -name "masterLog.*" -exec rm -f {} \;
|
find ${SERVER_DIR} -name "masterLog.*" -exec rm -f {} \;
|
||||||
echo "---Checking if everything is in place---"
|
echo "---Checking if everything is in place---"
|
||||||
if [ ! -f ${DATA_DIR}/.steam/sdk64/steamclient.so ]; then
|
if [ ! -f ${DATA_DIR}/.steam/sdk64/steamclient.so ]; then
|
||||||
|
Reference in New Issue
Block a user