cleaning config.sh.dist file

This commit is contained in:
Yehonal
2016-09-01 13:21:23 +02:00
parent 9466e0c21c
commit b86f955f8d
+32 -57
View File
@@ -38,48 +38,13 @@ CCOREPCH=ON
# you can add your custom definitions here ( -D ) # you can add your custom definitions here ( -D )
CCUSTOMOPTIONS="" CCUSTOMOPTIONS=""
##############################################
#
# RUNNER CONFIGURATION
#
##############################################
# enable/disable GDB execution
export GDB_ENABLED=0
# gdb file
export GDB=""
# directory where binary are stored
export BINPATH=""
### Put here the pid you configured on your worldserver.conf file ###
export SERVERPID=""
# path to conf file
export CONFIG=""
# path of log files
export LOGS_PATH="";
# exec name
export SERVERBIN=""
# name of screen service ( for restarter )
export SCREEN_NAME=""
############################################## ##############################################
# #
# DB ASSEMBLER CONFIGURATIONS # DB ASSEMBLER / EXPORTER CONFIGURATIONS
# #
############################################## ##############################################
# 0 if you want create an sql for each kind of following categories
# 1 to create a single big file to import ( suggested for new installations )
ALL_IN_ONE=0
DATABASES=( DATABASES=(
"AUTH" "AUTH"
"CHARACTERS" "CHARACTERS"
@@ -93,35 +58,14 @@ DB_CHARACTERS_PATHS=(
$SRCPATH"/data/sql/base/db_characters" $SRCPATH"/data/sql/base/db_characters"
) )
DB_CHARACTERS_NAME="characters"
DB_CHARACTERS_CONF="MYSQL_USER='root'; \
MYSQL_PASS='root'; \
MYSQL_HOST='localhost';\
"
DB_AUTH_PATHS=( DB_AUTH_PATHS=(
$SRCPATH"/data/sql/base/db_auth/" $SRCPATH"/data/sql/base/db_auth/"
) )
DB_AUTH_NAME="auth"
DB_AUTH_CONF="MYSQL_USER='root'; \
MYSQL_PASS='root'; \
MYSQL_HOST='localhost';\
"
DB_WORLD_PATHS=( DB_WORLD_PATHS=(
$SRCPATH"/data/sql/base/db_world/" $SRCPATH"/data/sql/base/db_world/"
) )
DB_WORLD_NAME="world"
DB_WORLD_CONF="MYSQL_USER='root'; \
MYSQL_PASS='root'; \
MYSQL_HOST='localhost';\
"
# UPDATES # UPDATES
DB_CHARACTERS_UPDATE_PATHS=( DB_CHARACTERS_UPDATE_PATHS=(
$SRCPATH"/data/sql/updates/db_characters/" $SRCPATH"/data/sql/updates/db_characters/"
@@ -147,3 +91,34 @@ DB_AUTH_CUSTOM_PATHS=(
DB_WORLD_CUSTOM_PATHS=( DB_WORLD_CUSTOM_PATHS=(
$SRCPATH"/data/sql/custom/db_world/" $SRCPATH"/data/sql/custom/db_world/"
) )
##############################################
#
# DB EXPORTER/IMPORTER CONFIGURATIONS
#
##############################################
DB_CHARACTERS_CONF="MYSQL_USER='root'; \
MYSQL_PASS='root'; \
MYSQL_HOST='localhost';\
"
DB_AUTH_CONF="MYSQL_USER='root'; \
MYSQL_PASS='root'; \
MYSQL_HOST='localhost';\
"
DB_WORLD_CONF="MYSQL_USER='root'; \
MYSQL_PASS='root'; \
MYSQL_HOST='localhost';\
"
DB_CHARACTERS_NAME="characters"
DB_AUTH_NAME="auth"
DB_WORLD_NAME="world"