since i need to reboot my server at least once a day, this fits my needs quite well.
i created 2 tiny startup scripts, one for the server and one for aseco (both can also be combined into one file) and added those in the "scheduled cron jobs" in webmin
tm-server.sh:
Code: Select all
#!/bin/sh
sleep 5
cd /home/gamesrv/tm/united
./TrackmaniaServer /game=united /dedicated_cfg=dedicated_cfg.txt /game_settings=rasp-tracklist.txt /internet
echo "tm united started"
Code: Select all
#!/bin/sh
sleep 10
cd /home/gamesrv/tm/united/xaseco
./xaseco.sh
echo "united aseco started"
you should also create a new user on your box, to avoid running those processes as root!
you can either let them boot with the server, or give them a specific time to start.
check and/or kill the process under the "running processes" tab.
hope this is useful to some people

cheers