Update 6_server-start.sh

This commit is contained in:
bashermens
2026-01-10 21:43:36 +01:00
committed by GitHub
parent 0729f8e380
commit c4efbde132

View File

@@ -73,12 +73,15 @@ AUTH_CMD="${ROOT}/_server/azerothcore/acore.sh run-authserver"
if [[ $DEBUG_MODE -eq 1 ]]; then if [[ $DEBUG_MODE -eq 1 ]]; then
# via GDB with RelWithDebInfo or Debug build # via GDB with RelWithDebInfo or Debug build
echo "DEBUG MODE: Running worldserver under GDB" echo "DEBUG MODE: Running worldserver under GDB"
WORLD_CMD="gdb -ex 'set logging file $GDB_LOG' \ WORLD_CMD="gdb -ex \"set logging file $GDB_LOG\" \
-ex 'set logging enabled on' \ -ex \"set logging enabled on\" \
-ex 'run' \ -ex \"set pagination off\" \
-ex 'bt full' \ -ex \"set confirm off\" \
-ex 'quit' \ -ex \"run -c $ROOT/etc/worldserver.conf\" \
--args $ROOT/env/dist/bin/worldserver" -ex \"bt full\" \
-ex \"info threads\" \
-ex \"thread apply all bt full\" \
--args $ROOT/_server/azerothcore/env/dist/bin/worldserver"
else else
# via acore.sh for auto-restart # via acore.sh for auto-restart
WORLD_CMD="$ROOT/_server/azerothcore/acore.sh run-worldserver" WORLD_CMD="$ROOT/_server/azerothcore/acore.sh run-worldserver"