mirror of
https://github.com/hermensbas/azerothcore_installer.git
synced 2026-01-13 00:28:33 +00:00
Update variables.sh
This commit is contained in:
@@ -1,18 +1,17 @@
|
||||
#!/bin/bash
|
||||
ROOT_DIR="$(cd -P -- "$(dirname -- "$0")" && pwd -P)"
|
||||
VAR_DIR="$(cd -P -- "$(dirname -- "$0")" && pwd -P)"
|
||||
|
||||
##########################################################################################
|
||||
# DO NOT MODIFY THIS FILE, SEE /config/user.env settings instead!!
|
||||
##########################################################################################
|
||||
set -o allexport && source ${VAR_DIR}/config/user.env && set +o allexport
|
||||
set -o allexport && source ${ROOT_DIR}/config/user.env && set +o allexport
|
||||
|
||||
##########################################################################################
|
||||
# Server and project internal variables
|
||||
# https://github.com/azerothcore/azerothcore-wotlk/blob/master/conf/dist
|
||||
##########################################################################################
|
||||
AUTHSERVER="${VAR_DIR}/_server/azerothcore/acore.sh run-authserver"
|
||||
WORLDSERVER="${VAR_DIR}/_server/azerothcore/acore.sh run-worldserver"
|
||||
AUTHSERVER="${ROOT_DIR}/_server/azerothcore/acore.sh run-authserver"
|
||||
WORLDSERVER="${ROOT_DIR}/_server/azerothcore/acore.sh run-worldserver"
|
||||
AUTHSERVER_SESSION="auth-session"
|
||||
WORLDSERVER_SESSION="world-session"
|
||||
|
||||
@@ -21,4 +20,4 @@ MYSQL_USER=acore
|
||||
MYSQL_PASSWORD=acore
|
||||
MYSQL_DATABASE=acore_auth
|
||||
|
||||
DATAPATH=${VAR_DIR}/_server/azerothcore/env/dist/bin
|
||||
DATAPATH=${ROOT_DIR}/_server/azerothcore/env/dist/bin
|
||||
|
||||
Reference in New Issue
Block a user