Modifies ConfigParser so config file is passed as parameter (to be used by both teos and cli)

- Modifies ConfigParser
- Adapts __init__ and teosd at teos/
This commit is contained in:
Sergi Delgado Segura
2020-03-21 21:57:17 +01:00
parent d860c9bca6
commit 00a48ce6f5
5 changed files with 6 additions and 19 deletions

View File

@@ -4,6 +4,7 @@ from teos.utils.auth_proxy import AuthServiceProxy
HOST = "localhost"
PORT = 9814
DATA_DIR = os.path.expanduser("~/.teos/")
CONF_FILE_NAME = "teos.conf"
LOG_PREFIX = "teos"
# Default conf fields