|
|
|
@ -14,9 +14,8 @@ class Config:
|
|
|
|
|
self.content = None
|
|
|
|
|
|
|
|
|
|
# select config file
|
|
|
|
|
if Path.exists(Path("config.yml")):
|
|
|
|
|
self.conf_file = Path("config.yml")
|
|
|
|
|
else:
|
|
|
|
|
if not Path.exists(self.conf_file):
|
|
|
|
|
self.conf_file = Path("/etc/ejabberd-metrics.yml")
|
|
|
|
|
|
|
|
|
|
# read config file
|
|
|
|
|