diff --git a/docker-compose.override.yml b/docker-compose.override.yml index 292c5ea7..ca19a7ff 100644 --- a/docker-compose.override.yml +++ b/docker-compose.override.yml @@ -17,4 +17,4 @@ services: mosquitto: ports: - 1883:1883 - - 8884:8884 + #- 8884:8884 diff --git a/wis2box-broker/mosquitto.conf b/wis2box-broker/mosquitto.conf index a00c7844..358d4ba6 100644 --- a/wis2box-broker/mosquitto.conf +++ b/wis2box-broker/mosquitto.conf @@ -14,6 +14,6 @@ listener 1883 protocol mqtt ## WebSockets Listener -listener 8884 -protocol websockets +#listener 8884 +#protocol websockets diff --git a/wis2box-create-config.py b/wis2box-create-config.py index 2f15351d..0dc4a6fb 100644 --- a/wis2box-create-config.py +++ b/wis2box-create-config.py @@ -437,9 +437,10 @@ def create_config_dir() -> str: print("Please check the path and your permissions.") exit() print(f"The directory {config_dir} has been created.") + + download_dir = config_dir / 'downloads' + download_dir.mkdir(mode=0o775) if not WINDOWS: - download_dir = config_dir / 'downloads' - download_dir.mkdir(mode=0o775) shutil.chown(download_dir, group='docker') except Exception: