Handle SIGTERM to stop Minecraft gracefully

- Set up SIGTERM signal trap to invoke stop_server
- Ensure proper process exit and cleanup after the server stops
- Create makefile to build, clean, and install builds
This commit is contained in:
2024-05-15 03:22:34 -04:00
parent 381bd9eeff
commit 297902a686
6 changed files with 99 additions and 19 deletions

1
.gitignore vendored
View File

@@ -1,2 +1,3 @@
data
.env
screenlog.0