27 lines
445 B
Plaintext
27 lines
445 B
Plaintext
|
|
# Main Mosquitto Configuration
|
||
|
|
# Target: Pi Zero 2 W Hub (10.60.1.101)
|
||
|
|
|
||
|
|
# Persistence
|
||
|
|
persistence true
|
||
|
|
persistence_location /var/lib/mosquitto/data/
|
||
|
|
persistence_file mosquitto.db
|
||
|
|
|
||
|
|
# Listener
|
||
|
|
listener 1883
|
||
|
|
|
||
|
|
# Authentication
|
||
|
|
allow_anonymous false
|
||
|
|
|
||
|
|
# ACL
|
||
|
|
acl_file /etc/mosquitto/acl/acl.conf
|
||
|
|
|
||
|
|
# Logging
|
||
|
|
log_dest file /var/log/mosquitto/mosquitto.log
|
||
|
|
log_type all
|
||
|
|
|
||
|
|
# Max connections
|
||
|
|
max_connections 100
|
||
|
|
|
||
|
|
# Keep alive
|
||
|
|
persistent_client_expiration 4w
|