# # Sample config for MQTT service # [mqttd] user = mqtt statedir = /tmp/mqtt pub_file = /usr/local/lib/mqtt/mqtt_pub.so acc_file = /usr/local/lib/mqtt/mqtt_acc.so log_file = /usr/local/lib/mqtt/mqtt_log.so listen = 0.0.0.0 port = 1883 retry = 1 [mqtt_acc] name = /etc/mqtt/acc.db tbl_users = Users [mqtt_pub] name = /etc/mqtt/pub.db tbl_online = Online tbl_topics = Topics tbl_subscribes = Subscribes [mqtt_log] name = /var/log/mqtt.log