summaryrefslogtreecommitdiff
path: root/apps/installer/main.sh
diff options
context:
space:
mode:
authorYehonal <yehonal.azeroth@gmail.com>2025-07-01 15:35:54 +0200
committerGitHub <noreply@github.com>2025-07-01 15:35:54 +0200
commite1b2689c3a2b1395323d2fc58588b1e1b3c07c53 (patch)
treef36a888ec1fef286ac59607c8a513668286e4065 /apps/installer/main.sh
parentd3130f0d39064d03bed969c7bc135ebb6066442f (diff)
feat(bash): startup-scripts reworked + bash scripts workflow integration (#22401)
Diffstat (limited to 'apps/installer/main.sh')
-rw-r--r--apps/installer/main.sh10
1 files changed, 8 insertions, 2 deletions
diff --git a/apps/installer/main.sh b/apps/installer/main.sh
index eb0eb4f894..396dafaad5 100644
--- a/apps/installer/main.sh
+++ b/apps/installer/main.sh
@@ -19,7 +19,9 @@ options=(
"run-worldserver (rw): execute a simple restarter for worldserver" # 11
"run-authserver (ra): execute a simple restarter for authserver" # 12
"docker (dr): Run docker tools" # 13
- "quit: Exit from this menu" # 14
+ "version (v): Show AzerothCore version" # 14
+ "service-manager (sm): Run service manager to run authserver and worldserver in background" # 15
+ "quit: Exit from this menu" # 16
)
function _switch() {
@@ -72,7 +74,11 @@ function _switch() {
printf "AzerothCore Rev. %s\n" "$ACORE_VERSION"
exit
;;
- ""|"quit"|"15")
+ ""|"sm"|"service-manager"|"15")
+ bash "$AC_PATH_APPS/startup-scripts/src/service-manager.sh" "${@:2}"
+ exit
+ ;;
+ ""|"quit"|"16")
echo "Goodbye!"
exit
;;