diff --git a/mosquitto/config.json b/mosquitto/config.json index 096904b..189929c 100644 --- a/mosquitto/config.json +++ b/mosquitto/config.json @@ -1,6 +1,6 @@ { "name": "Mosquitto broker", - "version": "0.2", + "version": "0.3", "slug": "mosquitto", "description": "An Open Source MQTT broker", "startup": "before", diff --git a/mosquitto/mosquitto.conf b/mosquitto/mosquitto.conf index 6852793..9734192 100644 --- a/mosquitto/mosquitto.conf +++ b/mosquitto/mosquitto.conf @@ -14,4 +14,4 @@ persistence_location /data/ ## # User settings #password_file /data/users.db -#allow_anonymous true +#allow_anonymous false diff --git a/mosquitto/run.sh b/mosquitto/run.sh index 53c5fdf..cc9531f 100644 --- a/mosquitto/run.sh +++ b/mosquitto/run.sh @@ -33,7 +33,7 @@ if [ "$SSL" == "true" ]; then fi # Allow anonymous connections -if [ "$ANONYMOUS" == "true" ]; then +if [ "$ANONYMOUS" == "false" ]; then sed -i "s/#allow_anonymous/allow_anonymous/g" /etc/mosquitto.conf fi