From 296577b5a88732b8a97a3ebce7cda8f92ab7511f Mon Sep 17 00:00:00 2001 From: Thorbjørn Lindeijer Date: Sat, 21 Aug 2010 23:37:47 +0200 Subject: Changed the location of configuration, logs and stats Instead of searching for the configuration file in ~/.manaserv.xml, the file is now expected to be in the working directory of the server. The logs and statistics will also be written there. This should make it easier to run differently configured servers on the same machine, and should also be a bit more straight-forward to setup. Reviewed-by: Yohann Ferreira --- README | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'README') diff --git a/README b/README index 2b684d96..9598c6a7 100644 --- a/README +++ b/README @@ -39,8 +39,9 @@ Currently, manaserv expects these to be merged into a single 'data' directory. CONFIGURATION -The configuration is currently loaded from ~/.manaserv.xml. An example file is -located at docs/manaserv.xml. +The server loads its configuration from manaserv.xml, which it tries to find in +the directory where you're running the server from. An example file is located +at docs/manaserv.xml.example. Default option values: @@ -49,6 +50,10 @@ Default option values: gameServerAddress localhost gameServerPort 9604 + serverPath . + serverDataPath example/serverdata + clientDataPath example/clientdata + RUNNING -- cgit v1.2.3-70-g09d2