Commit Graph

6 Commits

Author SHA1 Message Date
genofire a9e9f2e174 pathlib config path - short version 2020-09-26 22:09:01 +02:00
nico 714548b0c7 refactor os.environ to pathlib
* config.py should use the smaller lib to determine which config to load
2020-09-26 22:09:01 +02:00
nico 5f0cb289c1
black reformat
* black reformatted the code
2020-06-29 11:03:49 +02:00
nico d827444889
yaml config
+ implement yaml config file parsing
* update default config file
* update global config file from .conf to .yml ( debatable )

Signed-off-by: nico <nico@magicbroccoli.de>
2020-03-06 12:46:48 +01:00
nico cf0357197e
config file location overwrite
+ add environment toggle to overwrite the config directory

setting ejabberd_metrics_dev to 1 / true  -> set the config path inside the dev directory
2020-02-17 02:05:44 +01:00
nico f02b7e87ed utilize /etc/ directory
+ add config.py to read / touch create the etc config file
2020-02-16 20:19:03 +01:00