News:

Simutrans Forum Archive
A complete record of the old Simutrans Forum.

Server manager script

Started by WillysMD, November 04, 2017, 05:26:50 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

WillysMD

Hello everyone,

This is my first contribution to the Simutrans community. I know it's small but being a student I don't have much time to code.

I have a couple of private servers and I have been working on a script to manage them.
It's loosely based on this tutorial (which helped me setting up my first server): https://measureofchaos.wordpress.com/2011/03/03/simutrans-server-administration-guide-part-1/

Download: https://github.com/WillysMD/simutrans-server-manager

Features:
- Server instances: each instance has it's own parameters, simuconf.tab, save(s) and pak(s)
- Automatic builds
- Start/stop/restart of instances
- Logging (not quite complete yet)
- Loads save only when first starting the server, then uses the auto saves

Yet to come:
- Announce parameters
- Automated saves backups
- Better logging
- Logs rotation
- RESTful API with server status (for private servers)

If you find any issues or have any suggestions, it would be greatly appreciated if you could report them here and/or on Github's issue tracker.
As I said this is my first contribution to Simutrans and the open source community in general so any comments are welcome.

prissi

What is the meaning of instance, does it mean a path?