From 5cc46fc1cba6d04cea2254c46b9a52665963e140 Mon Sep 17 00:00:00 2001 From: sfb Date: Thu, 18 Nov 2010 09:09:30 -0600 Subject: [PATCH] Added: Windows shard start/stop script for the CMake build. --- code/ryzom/server/shard_start_cmake.bat | 105 ++++++++++++++++++++++++ code/ryzom/server/shard_stop_cmake.bat | 54 ++++++++++++ 2 files changed, 159 insertions(+) create mode 100644 code/ryzom/server/shard_start_cmake.bat create mode 100644 code/ryzom/server/shard_stop_cmake.bat diff --git a/code/ryzom/server/shard_start_cmake.bat b/code/ryzom/server/shard_start_cmake.bat new file mode 100644 index 000000000..943a0b5f3 --- /dev/null +++ b/code/ryzom/server/shard_start_cmake.bat @@ -0,0 +1,105 @@ +@echo off + +REM This script will start all the services with good parameters + +REM set MODE=Debug +set MODE=..\..\build\bin\Release + +rem AS +start %MODE%\ryzom_admin_service.exe --fulladminname=admin_executor_service --shortadminname=AES + +rem wait 2s (yes, i didn't find a better way to wait N seconds) +ping -n 2 127.0.0.1 > NUL 2>&1 + +rem bms_master +start %MODE%\ryzom_backup_service --writepid -P49990 + +rem wait 2s (yes, i didn't find a better way to wait N seconds) +ping -n 2 127.0.0.1 > NUL 2>&1 + +rem egs +start %MODE%\ryzom_entities_game_service --writepid + +rem wait 2s (yes, i didn't find a better way to wait N seconds) +ping -n 2 127.0.0.1 > NUL 2>&1 + +rem gpms +start %MODE%\ryzom_gpm_service --writepid + +rem wait 2s (yes, i didn't find a better way to wait N seconds) +ping -n 2 127.0.0.1 > NUL 2>&1 + +rem ios +start %MODE%\ryzom_ios_service --writepid + +rem wait 2s (yes, i didn't find a better way to wait N seconds) +ping -n 2 127.0.0.1 > NUL 2>&1 + +rem rns +start %MODE%\ryzom_naming_service --writepid + +rem wait 2s (yes, i didn't find a better way to wait N seconds) +ping -n 2 127.0.0.1 > NUL 2>&1 + +rem rws +start %MODE%\ryzom_welcome_service --writepid + +rem wait 2s (yes, i didn't find a better way to wait N seconds) +ping -n 2 127.0.0.1 > NUL 2>&1 + +rem ts +start %MODE%\ryzom_tick_service --writepid + +rem wait 2s (yes, i didn't find a better way to wait N seconds) +ping -n 2 127.0.0.1 > NUL 2>&1 + +rem ms +start %MODE%\ryzom_mirror_service --writepid + +rem wait 2s (yes, i didn't find a better way to wait N seconds) +ping -n 2 127.0.0.1 > NUL 2>&1 + +rem ais_newbyland +start %MODE%\ryzom_ai_service --writepid -mCommon:Newbieland:Post + +rem wait 2s (yes, i didn't find a better way to wait N seconds) +ping -n 2 127.0.0.1 > NUL 2>&1 + +rem mfs +start %MODE%\ryzom_mail_forum_service --writepid + +rem wait 2s (yes, i didn't find a better way to wait N seconds) +ping -n 2 127.0.0.1 > NUL 2>&1 + +rem su +start %MODE%\ryzom_shard_unifier_service --writepid + +rem wait 2s (yes, i didn't find a better way to wait N seconds) +ping -n 2 127.0.0.1 > NUL 2>&1 + +rem fes +start %MODE%\ryzom_frontend_service --writepid + +rem wait 2s (yes, i didn't find a better way to wait N seconds) +ping -n 2 127.0.0.1 > NUL 2>&1 + +rem sbs +start %MODE%\ryzom_session_browser_service --writepid + +rem wait 2s (yes, i didn't find a better way to wait N seconds) +ping -n 2 127.0.0.1 > NUL 2>&1 + +rem lgs +start %MODE%\ryzom_logger_service --writepid + +rem wait 2s (yes, i didn't find a better way to wait N seconds) +ping -n 2 127.0.0.1 > NUL 2>&1 + +rem lgs +start %MODE%\ryzom_dynamic_scenario_service --writepid + +rem wait 2s (yes, i didn't find a better way to wait N seconds) +ping -n 2 127.0.0.1 > NUL 2>&1 + +rem ras +start %MODE%\ryzom_admin_service --fulladminname=admin_service --shortadminname=AS --writepid diff --git a/code/ryzom/server/shard_stop_cmake.bat b/code/ryzom/server/shard_stop_cmake.bat new file mode 100644 index 000000000..d28e35e64 --- /dev/null +++ b/code/ryzom/server/shard_stop_cmake.bat @@ -0,0 +1,54 @@ +@echo off + +REM This script will kill all the services launched by shard_start.bat + +rem AS +taskkill /IM ryzom_admin_service.exe + +rem bms_master +taskkill /IM ryzom_backup_service.exe + +rem egs +taskkill /IM ryzom_entities_game_service.exe + +rem gpms +taskkill /IM ryzom_gpm_service.exe + +rem ios +taskkill /IM ryzom_ios_service.exe + +rem rns +taskkill /IM ryzom_naming_service.exe + +rem rws +taskkill /IM ryzom_welcome_service.exe + +rem ts +taskkill /IM ryzom_tick_service.exe + +rem ms +taskkill /IM ryzom_mirror_service.exe + +rem ais_newbyland +taskkill /IM ryzom_ai_service.exe + +rem mfs +taskkill /IM ryzom_mail_forum_service.exe + +rem su +taskkill /IM ryzom_shard_unifier_service.exe + +rem fes +taskkill /IM ryzom_frontend_service.exe + +rem sbs +taskkill /IM ryzom_session_browser_server.exe + +rem lgs +taskkill /IM ryzom_logger_service.exe + +rem dss +taskkill /IM ryzom_dynamic_scenario_service.exe + +rem ras +taskkill /IM ryzom_admin_service.exe