Skip to content

Commit 2790226

Browse files
committed
fix config file to use non-root user and have listener appear before protocol
1 parent 97b01bd commit 2790226

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed
Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# see https://mosquitto.org/man/mosquitto-conf-5.html
22

3-
protocol mqtt
4-
user root
3+
listener 1883
54
log_dest stdout
65
allow_anonymous true
76

@@ -14,7 +13,4 @@ log_timestamp_format %Y-%m-%d %H:%M:%S
1413
persistence true
1514
persistence_location /data/
1615

17-
listener 1883
18-
protocol mqtt
19-
2016
sys_interval 1

0 commit comments

Comments
 (0)