„scripts/start-server.sh“ ändern
This commit is contained in:
@@ -124,14 +124,6 @@ echo "---Prepare Server---"
|
|||||||
cp ${DATA_DIR}/steamcmd/linux32/* ${SERVER_DIR}
|
cp ${DATA_DIR}/steamcmd/linux32/* ${SERVER_DIR}
|
||||||
chmod -R 770 ${DATA_DIR}
|
chmod -R 770 ${DATA_DIR}
|
||||||
|
|
||||||
if [ "${BAMBI_FIX}" == "true" ]; then
|
|
||||||
if grep -r 'sql-mode="ERROR_FOR_DIVISION_BY_ZERO,NO_ZERO_DATE,NO_ZERO_IN_DATE,NO_AUTO_CREATE_USER"' /etc/alternatives/my.cnf; then
|
|
||||||
:
|
|
||||||
else
|
|
||||||
sed -i '$a\[mysqld]\nsql-mode="ERROR_FOR_DIVISION_BY_ZERO,NO_ZERO_DATE,NO_ZERO_IN_DATE,NO_AUTO_CREATE_USER"' /etc/alternatives/my.cnf
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "---Start Server---"
|
echo "---Start Server---"
|
||||||
cd ${SERVER_DIR}
|
cd ${SERVER_DIR}
|
||||||
screen -S ArmA3 -L -Logfile ${SERVER_DIR}/Arma3Log.0 -d -m ./arma3server -cfg=@ExileServer/basic.cfg -config=@ExileServer/config.cfg -autoinit -mod=@Exile\; -servermod=@ExileServer\; >> ExileModLog.0 ${GAME_PARAMS}
|
screen -S ArmA3 -L -Logfile ${SERVER_DIR}/Arma3Log.0 -d -m ./arma3server -cfg=@ExileServer/basic.cfg -config=@ExileServer/config.cfg -autoinit -mod=@Exile\; -servermod=@ExileServer\; >> ExileModLog.0 ${GAME_PARAMS}
|
||||||
|
Reference in New Issue
Block a user