Skip to content

Instantly share code, notes, and snippets.

@coldfire84
Last active July 25, 2019 11:27
Show Gist options
  • Save coldfire84/9f497c131d80763f5bd8408762581fe6 to your computer and use it in GitHub Desktop.
Save coldfire84/9f497c131d80763f5bd8408762581fe6 to your computer and use it in GitHub Desktop.
Standard mosquitto.conf file
# Place your local configuration in /mosquitto/config/conf.d/
port 1883
pid_file /var/run/mosquitto.pid
persistence true
persistence_location /mosquitto/data/
user mosquitto
log_dest file /mosquitto/log/mosquitto.log
log_dest stdout
log_type all
log_timestamp true
log_timestamp_format %Y-%m-%dT%H:%M:%S
include_dir /mosquitto/config/conf.d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment