01-29-2011, 03:52 PM
I want to run an automatically updated xonotic git server in Ubuntu Server 10.04. Having it update and compile should be easy enough in a startup script, ie:
Two things I don't know how to do however:
1. Automatically update the server.cfg with the current date when the script is run (so it says something like "Xonotic git - updated <todays_date>".
2. Automatically reboot the server or kill/update/restart the git server at a specified time of day.
If anyone could help me with this it'd be much appreciated
Code:
./all update
./all compile
./all run dedicated
Two things I don't know how to do however:
1. Automatically update the server.cfg with the current date when the script is run (so it says something like "Xonotic git - updated <todays_date>".
2. Automatically reboot the server or kill/update/restart the git server at a specified time of day.
If anyone could help me with this it'd be much appreciated