Graceful Shutdown: Signal-Handler für sauberes Herunterfahren aller Dienste

This commit is contained in:
2026-03-23 22:20:05 +01:00
parent cbb918d6b2
commit 7eb2b6ff0b
5 changed files with 109 additions and 1 deletions
+4
View File
@@ -219,4 +219,8 @@ EXPOSE 2350/udp
EXPOSE 3450/tcp
EXPOSE 80/tcp
# Graceful Shutdown: SIGTERM wird vom Signal-Handler im Startscript abgefangen
# und alle Dienste (XAseco, TM-Server, Apache) sauber heruntergefahren.
STOPSIGNAL SIGTERM
CMD ["/opt/tmserver/RunTrackmaniaServer.sh"]