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:
@@ -10,7 +10,7 @@ RUN groupadd -g 1000 minecraft && \
|
||||
|
||||
# Install scripting dependencies
|
||||
RUN apt-get update && \
|
||||
apt-get install -y curl gpg jq screen && \
|
||||
apt-get install -y curl gpg jq procps screen strace && \
|
||||
apt-get clean && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
|
Reference in New Issue
Block a user