diff --git a/admin/web.py b/admin/web.py index ab72707..596d033 100644 --- a/admin/web.py +++ b/admin/web.py @@ -85,8 +85,8 @@ logger.info('📨 Home Assistant Notifications => %s', str(HA_NOTIFY)) # Initial Config vars. -if os.path.exists("/share/"): # <- Revert addon_configs when done. - CONFIG_DB_PATH = "/share/" +if os.path.exists("/config/"): + CONFIG_DB_PATH = "/config/" else: CONFIG_DB_PATH = "./" # Make config option diff --git a/config.yaml b/config.yaml index c9c4518..97a8745 100644 --- a/config.yaml +++ b/config.yaml @@ -1,7 +1,7 @@ name: Home Detector description: A lightweight intrusion detector. url: https://github.com/linickx/HomeDetector -version: "0.0.1" +version: "0.0.2" slug: homedetector init: false arch: @@ -10,7 +10,6 @@ arch: startup: application map: - addon_config:rw - - share:rw ports: 10053/tcp: 53 10053/udp: 53 diff --git a/dns/listener.py b/dns/listener.py index 2bbee12..1ca424d 100644 --- a/dns/listener.py +++ b/dns/listener.py @@ -168,8 +168,8 @@ ] # Initial Config vars. -if os.path.exists("/share/"): # <- Should be addon_configs . - CONFIG_DB_PATH = "/share/" +if os.path.exists("/config/"): + CONFIG_DB_PATH = "/config/" else: CONFIG_DB_PATH = "./" # Make config option