docker-tmserver/tmserver/entrypoint.sh

16 lines
324 B
Bash
Raw Normal View History

2022-06-26 17:41:12 +02:00
#!/command/with-contenv bash
set -e
[[ "$(id -u)" == 0 ]] && s6-setuidgid trackmania "$0"
cd /var/lib/tmserver
# Parse config files
./bin/eval_env.sh
# Parse playlist files
./bin/eval_playlist.sh
exec "./TrackmaniaServer" "/nodaemon" "/internet" "/game_settings=MatchSettings/playlist.xml" "/dedicated_cfg=config.xml"