Fix tcmalloc crash and add 32-bit libraries
- Added libc6-i386, libncurses5:i386, libtinfo5:i386 for Source engine - Disabled tcmalloc via LD_PRELOAD - Added -norestart flag for Docker environment
This commit is contained in:
@@ -180,8 +180,12 @@ cleanup() {
|
||||
trap cleanup SIGTERM SIGINT
|
||||
|
||||
# Add -disableluarefresh to prevent lua refresh issues
|
||||
# Add -norestart to prevent auto-restart loop issues in Docker
|
||||
ARGS="$ARGS -disableluarefresh"
|
||||
|
||||
# Disable tcmalloc which causes issues in Docker environments
|
||||
# This is a known issue with Source engine games in containers
|
||||
export LD_PRELOAD=""
|
||||
export MALLOC_CHECK_=0
|
||||
|
||||
# Start the server (using exec to replace shell process)
|
||||
exec ./srcds_run $ARGS
|
||||
exec ./srcds_run $ARGS -norestart
|
||||
|
||||
Reference in New Issue
Block a user