summaryrefslogtreecommitdiff
path: root/modules/acore/startup-scripts/conf.sh.dist
diff options
context:
space:
mode:
authorYehonal <yehonal.azeroth@gmail.com>2017-06-11 08:44:36 +0000
committerYehonal <yehonal.azeroth@gmail.com>2017-08-17 16:53:14 +0200
commitabc01d62f6cbe1a44665d901f60d3905221ff51c (patch)
tree00d2eb2c845cfa884bf683cfce3167af2a0e5748 /modules/acore/startup-scripts/conf.sh.dist
parent2afb7676164db217339a4bd94f4fe44358411bb7 (diff)
added more info to run-engine conf file
+ added a function that could be useful if you want shutdown a screened server at restarter crash
Diffstat (limited to 'modules/acore/startup-scripts/conf.sh.dist')
-rw-r--r--modules/acore/startup-scripts/conf.sh.dist28
1 files changed, 21 insertions, 7 deletions
diff --git a/modules/acore/startup-scripts/conf.sh.dist b/modules/acore/startup-scripts/conf.sh.dist
index fbf31e3cab..774a7c01ce 100644
--- a/modules/acore/startup-scripts/conf.sh.dist
+++ b/modules/acore/startup-scripts/conf.sh.dist
@@ -1,36 +1,50 @@
# enable/disable GDB execution
export GDB_ENABLED=0
-# gdb file
+# [optional] gdb file
+# default: gdb.txt
export GDB=""
# directory where binary are stored
export BINPATH=""
- ### Put here the pid you configured on your worldserver.conf file ###
+# Put here the pid you configured on your worldserver.conf file
+# needed when GDB_ENABLED=1
export SERVERPID=""
-# path to conf file
+# path to configuration file (including the file name)
+# ex: /home/user/azerothcore/etc/worldserver.conf
export CONFIG=""
# path of log files
+# needed by restarter to store its logs
export LOGS_PATH="";
# exec name
+# ex: worldserver
export SERVERBIN=""
# prefix name for log files
+# to avoid collision with other restarters
export LOG_PREFIX_NAME=""
-# name of screen service ( for restarter )
+# [optional] name of screen service
# if no specified, screen util won't be used
export SCREEN_NAME=""
-# overwrite default screen options: -A -m -d -S
+# [optional] overwrite default screen options: -A -m -d -S
+# WARNING: if you are running it under a systemd service
+# please do not remove -m -d arguments from screen if are you using it,
+# or keep WITH_CONSOLE=0 .
+# otherwise the journald-logging system will take 100% of CPU slowing
+# down the whole machine. It's because a systemd service should have
+# low console output.
export SCREEN_OPTIONS=""
-# enable it to show the output
-# within console
+# enable/disable it to show the output
+# within console, if disable the output will be redirect to
+# logging files
+#
export WITH_CONSOLE=0