Author Topic: Server manager script  (Read 198 times)

0 Members and 1 Guest are viewing this topic.

Offline WillysMD

Server manager script
« on: November 04, 2017, 05:26:50 PM »
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.

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 8823
  • Total likes: 323
  • Helpful: 229
  • Languages: De,EN,JP
Re: Server manager script
« Reply #1 on: November 06, 2017, 07:59:34 AM »
What is the meaning of instance, does it mean a path?