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