File:  [ELWIX - Embedded LightWeight unIX -] / mqtt / etc / mqtt.conf
Revision 1.2: download - view: text, annotated - select for diffs - revision graph
Fri Jan 27 15:05:38 2012 UTC (12 years, 4 months ago) by misho
Branches: MAIN
CVS tags: mqtt1_1, HEAD
added new files

#
# 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

[mqtt_log]
name = /var/log/mqtt.log

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>