This commit is contained in:
lduriez
2019-07-16 17:08:55 +02:00
parent e33e6c58e6
commit dcea94e27c
4 changed files with 136 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
#!/bin/sh
sed -i "s/<name>/<name>${SERVER_NAME}/" /opt/tmserver/GameData/Config/dedicated_cfg.txt
sed -i "s/<comment>/<comment>${SERVER_DESC}/" /opt/tmserver/GameData/Config/dedicated_cfg.txt
cat /opt/tmserver/GameData/Config/dedicated_cfg.txt
exec ./TrackmaniaServer /dedicated_cfg=dedicated_cfg.txt /game_settings=MatchSettings/custom_game_settings.txt /nodaemon /lan