diff --git a/fighter/config/home-assistant/mosquitto.conf b/fighter/config/home-assistant/mosquitto.conf index b9a063e..6e5aa7c 100644 --- a/fighter/config/home-assistant/mosquitto.conf +++ b/fighter/config/home-assistant/mosquitto.conf @@ -427,7 +427,7 @@ listener 1883 0.0.0.0 # subscriptions, currently in-flight messages and retained # messages. # retained_persistence is a synonym for this option. -#persistence false +persistence true # The filename to use for the persistent database, not including # the path. @@ -437,7 +437,7 @@ listener 1883 0.0.0.0 # Default is an empty string (current directory). # Set to e.g. /var/lib/mosquitto if running as a proper service on Linux or # similar. -#persistence_location +persistence_location /mosquitto/data/ # ================================================================= @@ -470,7 +470,8 @@ listener 1883 0.0.0.0 # Note that if the broker is running as a Windows service it will default to # "log_dest none" and neither stdout nor stderr logging is available. # Use "log_dest none" if you wish to disable logging. -#log_dest stderr +log_dest stdout +log_dest file /mosquitto/log/mosquitto.log # Types of messages to log. Use multiple log_type lines for logging # multiple types of messages. @@ -531,7 +532,7 @@ listener 1883 0.0.0.0 # Defaults to false, unless there are no listeners defined in the configuration # file, in which case it is set to true, but connections are only allowed from # the local machine. -allow_anonymous false +allow_anonymous true # ----------------------------------------------------------------- # Default authentication and topic access control