From b1e0e4cbf94a0aa1f139877d8d7b113051a1996b Mon Sep 17 00:00:00 2001 From: Aaron Riedel Date: Fri, 10 Nov 2023 21:23:48 +0100 Subject: [PATCH] fix start.sh --- start.sh | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/start.sh b/start.sh index 34a3a8e..17d2ca3 100644 --- a/start.sh +++ b/start.sh @@ -8,24 +8,24 @@ echo "-----------------------" echo "" echo "create sharedconfig.ini" # make sharedconfig.ini -echo "mysql_host=$MYSQL_HOST" > /app/sharedconfig.ini -echo "mysql_database=$MYSQL_DATABASE" >> /app/sharedconfig.ini -echo "mysql_username=$MYSQL_USERNAME" >> /app/sharedconfig.ini -echo "mysql_password=$MYSQL_PASSWORD" >> /app/sharedconfig.ini -echo "log_to_console=1" >> /app/sharedconfig.ini -echo "log_debug_statements=0" >> /app/sharedconfig.ini -echo "external_ip=142.132.219.61" >> /app/sharedconfig.ini -echo "dont_generate_dcf=0" >> /app/sharedconfig.ini -echo "max_clients=$MAX_CLIENTS" >> /app/sharedconfig.ini -echo "dump_folder=/dev/null" >> /app/sharedconfig.ini -echo "client_location=/client" >> /app/sharedconfig.ini -echo "maximum_outgoing_bandwidth=80000" >> /app/sharedconfig.ini -echo "maximum_mtu_size=1228" >> /app/sharedconfig.ini -echo "client_net_version=$CLIENT_VERSION" >> /app/sharedconfig.ini -echo "default_team_loot=$TEAM_LOOT" >> /app/sharedconfig.ini +echo "mysql_host=$MYSQL_HOST" > ${HOMEDIR}/app/sharedconfig.ini +echo "mysql_database=$MYSQL_DATABASE" >> ${HOMEDIR}/app/sharedconfig.ini +echo "mysql_username=$MYSQL_USERNAME" >> ${HOMEDIR}/app/sharedconfig.ini +echo "mysql_password=$MYSQL_PASSWORD" >> ${HOMEDIR}/app/sharedconfig.ini +echo "log_to_console=1" >> ${HOMEDIR}/app/sharedconfig.ini +echo "log_debug_statements=0" >> ${HOMEDIR}/app/sharedconfig.ini +echo "external_ip=142.132.219.61" >> ${HOMEDIR}/app/sharedconfig.ini +echo "dont_generate_dcf=0" >> ${HOMEDIR}/app/sharedconfig.ini +echo "max_clients=$MAX_CLIENTS" >> ${HOMEDIR}/app/sharedconfig.ini +echo "dump_folder=/dev/null" >> ${HOMEDIR}/app/sharedconfig.ini +echo "client_location=/client" >> ${HOMEDIR}/app/sharedconfig.ini +echo "maximum_outgoing_bandwidth=80000" >> ${HOMEDIR}/app/sharedconfig.ini +echo "maximum_mtu_size=1228" >> ${HOMEDIR}/app/sharedconfig.ini +echo "client_net_version=$CLIENT_VERSION" >> ${HOMEDIR}/app/sharedconfig.ini +echo "default_team_loot=$TEAM_LOOT" >> ${HOMEDIR}/app/sharedconfig.ini echo "set folder for shared libaries" -export LD_LIBRARY_PATH=/app +export LD_LIBRARY_PATH=${HOMEDIR}/app echo "start Server" -/app/MasterServer +${HOMEDIR}/app/MasterServer tail -f /dev/null \ No newline at end of file