mcsleepingserverstarter
mcsleepingserverstarter copied to clipboard
Use `SIGSTOP` and `SIGCONT` to freeze the process
You might want to add an option to suspend the server, using SIGSTOP to freeze and SIGCONT to resume the process. This would only work on Unix-like platforms (Linux and macOS), but it would allow the server to be resumed instantly.
If you don't know what SIGSTOP and SIGCONT are, they essentially work the same as sleep mode but only for one process.
See also: