Server seems to go down each evening.
That shell script I mentioned as a possible solution earlier today looks like this:
# Check if simutrans has stopped running
if pgrep "simutrans" > /dev/null
# Insert reboot or restart application
# command after this line.
You would save the shell script in a file named "restart.sh" in your homefolder (or somewhere else if you want), then execute the line:
... to add the script to a timetable that runs automatically every minute or so. "crontab -e" opens an edit window in vim/emacs, where you'd add the following line:
* * * * * ~/restart.sh
Now, every minute the server will check if simutrans is running. If it is not, you can insert lines of code to either reboot the machine, restart a simutrans server instance, email yourself with an error message, etc.
Cron can be installed with `sudo apt-get install cron` on ubuntu-like servers.