Skip to content

Instantly share code, notes, and snippets.

@m0nochr0me
Last active November 18, 2020 02:50
Show Gist options
  • Save m0nochr0me/0e86e11c5b034beb5d373ce0f06ba649 to your computer and use it in GitHub Desktop.
Save m0nochr0me/0e86e11c5b034beb5d373ce0f06ba649 to your computer and use it in GitHub Desktop.
Mosquitto config
pid_file /var/run/mosquitto.pid
persistence true
persistence_file mosquitto.db
persistence_location /opt/mosquitto/
log_dest none
log_timestamp_format %Y-%m-%dT%H:%M:%S
log_type debug
log_type error
log_type warning
log_type notice
log_type information
connection_messages true
log_timestamp true
allow_anonymous false
password_file /etc/mosquitto/passwd
listener 19780
protocol mqtt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment