Added persistence to mosquitto config
This commit is contained in:
@@ -212,7 +212,11 @@
|
|||||||
# listener 0 /tmp/mosquitto.sock
|
# listener 0 /tmp/mosquitto.sock
|
||||||
#
|
#
|
||||||
# listener port-number [ip address/host name/unix socket path]
|
# listener port-number [ip address/host name/unix socket path]
|
||||||
|
|
||||||
listener 1884
|
listener 1884
|
||||||
|
persistence true
|
||||||
|
persistence_location /mosquitto/data/
|
||||||
|
log_dest file /mosquitto/log/mosquitto.log
|
||||||
|
|
||||||
# By default, a listener will attempt to listen on all supported IP protocol
|
# By default, a listener will attempt to listen on all supported IP protocol
|
||||||
# versions. If you do not have an IPv4 or IPv6 interface you may wish to
|
# versions. If you do not have an IPv4 or IPv6 interface you may wish to
|
||||||
|
|||||||
Reference in New Issue
Block a user