generated from DAM/ts-TEMPLATE
manual init
This commit is contained in:
parent
1dff63dbc6
commit
39bec61414
17
mosquitto/config/mosquitto.conf
Normal file
17
mosquitto/config/mosquitto.conf
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
# Listen on port 1883 (default MQTT port)
|
||||||
|
listener 1883
|
||||||
|
|
||||||
|
# Enable persistence for message storage
|
||||||
|
persistence true
|
||||||
|
persistence_location /var/lib/mosquitto/
|
||||||
|
|
||||||
|
# Paths to optional files
|
||||||
|
password_file /etc/mosquitto/passwd
|
||||||
|
acl_file /etc/mosquitto/aclfile
|
||||||
|
|
||||||
|
# Logging (to file or syslog)
|
||||||
|
log_dest file /etc/mosquitto/log/mosquitto.log
|
||||||
|
log_type all
|
||||||
|
|
||||||
|
# Allow anonymous access (disable for production)
|
||||||
|
allow_anonymous true
|
Loading…
x
Reference in New Issue
Block a user