Lines 1-9
Link Here
|
1 |
Index: mosquitto.conf |
1 |
--- mosquitto.conf.orig 2020-12-28 13:22:44 UTC |
2 |
=================================================================== |
|
|
3 |
--- mosquitto.conf.orig |
4 |
+++ mosquitto.conf |
2 |
+++ mosquitto.conf |
5 |
@@ -158,7 +158,7 @@ |
3 |
@@ -148,7 +148,7 @@ |
6 |
# This should be set to /var/run/mosquitto.pid if mosquitto is |
4 |
# This should be set to /var/run/mosquitto/mosquitto.pid if mosquitto is |
7 |
# being run automatically on boot with an init script and |
5 |
# being run automatically on boot with an init script and |
8 |
# start-stop-daemon or similar. |
6 |
# start-stop-daemon or similar. |
9 |
-#pid_file |
7 |
-#pid_file |
Lines 11-35
Index: mosquitto.conf
Link Here
|
11 |
|
9 |
|
12 |
# Set to true to queue messages with QoS 0 when a persistent client is |
10 |
# Set to true to queue messages with QoS 0 when a persistent client is |
13 |
# disconnected. These messages are included in the limit imposed by |
11 |
# disconnected. These messages are included in the limit imposed by |
14 |
@@ -195,7 +195,7 @@ |
12 |
@@ -187,7 +187,7 @@ |
15 |
# If run as a non-root user, this setting has no effect. |
13 |
# If run as a non-root user, this setting has no effect. |
16 |
# Note that on Windows this has no effect and so mosquitto should |
14 |
# Note that on Windows this has no effect and so mosquitto should be started by |
17 |
# be started by the user you wish it to run as. |
15 |
# the user you wish it to run as. |
18 |
-#user mosquitto |
16 |
-#user mosquitto |
19 |
+user nobody |
17 |
+user nobody |
20 |
|
18 |
|
21 |
# ================================================================= |
19 |
# ================================================================= |
22 |
# Default listener |
20 |
# Listeners |
23 |
@@ -208,7 +208,7 @@ |
21 |
@@ -340,7 +340,7 @@ |
24 |
#bind_address |
|
|
25 |
|
26 |
# Port to use for the default listener. |
27 |
-#port 1883 |
28 |
+port 1883 |
29 |
|
30 |
# Bind the listener to a specific interface. This is similar to |
31 |
# bind_address above but is useful when an interface has multiple addresses or |
32 |
@@ -267,7 +267,7 @@ |
33 |
# containing the CA certificates. For capath to work correctly, the |
22 |
# containing the CA certificates. For capath to work correctly, the |
34 |
# certificate files must have ".crt" as the file ending and you must run |
23 |
# certificate files must have ".crt" as the file ending and you must run |
35 |
# "openssl rehash <path to capath>" each time you add/remove a certificate. |
24 |
# "openssl rehash <path to capath>" each time you add/remove a certificate. |
Lines 37-40
Index: mosquitto.conf
Link Here
|
37 |
+cafile /usr/local/share/certs/ca-root-nss.crt |
26 |
+cafile /usr/local/share/certs/ca-root-nss.crt |
38 |
#capath |
27 |
#capath |
39 |
|
28 |
|
40 |
# Path to the PEM encoded server certificate. |
29 |
|