fixed syntax errors in entrypoint

This commit is contained in:
ryluth 2019-09-27 10:55:08 +02:00 committed by GitHub
parent 82679ffa2e
commit 931fd0d989
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 16 deletions

View File

@ -102,10 +102,7 @@ echo "Substition in config files"
#Trackmania Files
$configcmd="envsubst > GameData/Config/config.txt < GameData/Config/_config.txt"
$playlistcmd="envsubst > GameData/Config/playlist.txt < GameData/Config/_playlist.txt"
eval $configcmd
eval $playlistcmd
envsubst > GameData/Config/config.txt < GameData/Config/_config.txt
envsubst > GameData/Config/playlist.txt < GameData/Config/_playlist.txt
exec "/opt/tmserver/TrackmaniaServer" "/nodaemon" "/internet" "/game_settings=MatchSettings/playlist.txt" "/dedicated_cfg=config.txt"