TorchAPI / Torch

An extensible modding framework and improved client/DS for Space Engineers. Still a work in progress!
Apache License 2.0
146 stars 76 forks source link

Shutdown torch server from os command line (to allow scripted shutdown) #57

Closed zarozak closed 2 years ago

zarozak commented 7 years ago

is it possible to send a "say /quit" to the server from the OS command line where torch is running? or some other way to shutdown server neatly.

I have setup a script to check for updates but want to trigger torch to shutdown to then detect and apply them when found.

Torch detects them on startup and applies, but I am trying to have them apply when they are released so have another script checking on a regular basis.

Jimmacle commented 7 years ago

Torch doesn't currently support any service-like interaction from outside the application itself. I'll consider adding this when I start working on service support in general.

GornyakManiac commented 7 years ago

Yeah, I have the same situation with external restart script, which edits save file on server restart. Would be nice to have that /stop command or other.