File:  [ELWIX - Embedded LightWeight unIX -] / elwix / config / etc / default / mqtt.conf
Revision 1.2: download - view: text, annotated - select for diffs - revision graph
Fri Oct 12 08:22:44 2012 UTC (12 years, 2 months ago) by misho
Branches: MAIN
CVS tags: elwix2_8, elwix2_7, elwix2_6, elwix2_3, elwix2_2, elwix2_1, elwix2_0, elwix1_9_mips, elwix1_9, elwix1_8, elwix1_7, HEAD, ELWIX2_7, ELWIX2_6, ELWIX2_5, ELWIX2_2p0, ELWIX2_1, ELWIX2_0, ELWIX1_9, ELWIX1_8, ELWIX1_7, ELWIX1_6
ELWIX 1.6

#
# Sample config for MQTT service
#

[mqttd]
user = mqtt
statedir = /tmp/mqtt

pub_file = /usr/lib/mqtt/mqtt_pub.so
acc_file = /usr/lib/mqtt/mqtt_acc.so
log_file = /usr/lib/mqtt/mqtt_log.so

listen = 0.0.0.0
port = 1883

retry = 1

[mqtt_acc]
name = /var/mqtt/acc.db

tbl_users = Users

[mqtt_pub]
name = /var/mqtt/pub.db

tbl_online = Online
tbl_topics = Topics
tbl_subscribes = Subscribes

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

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