Sign in to follow this  

[Question] Windows Dedicated Server Auto-Restart incase of Crash

Recommended Posts

Xide    0

I'm running a dedicated server with caves and mods, has anyone been able to find a program/script that can auto-restart the .bat file incase of crashes?


I currently have two start.bat and start2.bat files that I use, these are both of them;

  • dontstarve_dedicated_server_nullrenderer -console -cluster MyDediServer -shard Master
  • dontstarve_dedicated_server_nullrenderer -console -cluster MyDediServer -shard Caves

I've tried Knas Restarter but whenever the cmd prompt goes down or even the dontstarve_dedicated_server_nullrenderer it just can't restart it properly, it'll open the .bat file but close after a few seconds.

Share this post

Link to post
Share on other sites
Arash70    57
Posted (edited)

Well, if you're running it on windows, you can run it as a service.

There are plenty of options available for that, but the best one I've ever encountered with was FireDaemon (which is specifically made for game servers). 

I haven't tested it for DST server though (it used to work perfectly with HLDS)

Give it a try and let me know.

Edited by Arash70

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this