Add server start/stop timeout to force kill server if it gets stuck

This commit is contained in:
timvisee
2021-11-10 23:43:47 +01:00
parent 2026b6c846
commit 18fdf4c5f9
9 changed files with 125 additions and 9 deletions

View File

@@ -73,3 +73,9 @@ command = "java -Xmx1G -Xms1G -jar server.jar --nogui"
[advanced]
# Automatically update values in Minecraft server.properties file as required.
#rewrite_server_properties = true
# Server starting timeout. Force kill server process if it takes longer.
#start_timeout = 300
# Server stopping timeout. Force kill server process if it takes longer.
#stop_timeout = 150