Lines 1-33
Link Here
|
1 |
--- mosquitto.conf.orig 2019-02-06 15:54:59 UTC |
1 |
Index: mosquitto.conf |
|
|
2 |
=================================================================== |
3 |
--- mosquitto.conf.orig |
2 |
+++ mosquitto.conf |
4 |
+++ mosquitto.conf |
3 |
@@ -28,7 +28,7 @@ |
5 |
@@ -158,7 +158,7 @@ |
4 |
# This should be set to /var/run/mosquitto.pid if mosquitto is |
6 |
# This should be set to /var/run/mosquitto.pid if mosquitto is |
5 |
# being run automatically on boot with an init script and |
7 |
# being run automatically on boot with an init script and |
6 |
# start-stop-daemon or similar. |
8 |
# start-stop-daemon or similar. |
7 |
-#pid_file |
9 |
-#pid_file |
8 |
+pid_file /var/run/mosquitto.pid |
10 |
+pid_file /var/run/mosquitto.pid |
9 |
|
11 |
|
10 |
# When run as root, drop privileges to this user and its primary |
12 |
# Set to true to queue messages with QoS 0 when a persistent client is |
11 |
# group. |
13 |
# disconnected. These messages are included in the limit imposed by |
12 |
@@ -36,7 +36,7 @@ |
14 |
@@ -195,7 +195,7 @@ |
13 |
# If run as a non-root user, this setting has no effect. |
15 |
# If run as a non-root user, this setting has no effect. |
14 |
# Note that on Windows this has no effect and so mosquitto should |
16 |
# Note that on Windows this has no effect and so mosquitto should |
15 |
# be started by the user you wish it to run as. |
17 |
# be started by the user you wish it to run as. |
16 |
-#user mosquitto |
18 |
-#user mosquitto |
17 |
+user nobody |
19 |
+user nobody |
18 |
|
20 |
|
19 |
# The maximum number of QoS 1 and 2 messages currently inflight per |
21 |
# ================================================================= |
20 |
# client. |
22 |
# Default listener |
21 |
@@ -173,7 +173,7 @@ |
23 |
@@ -208,7 +208,7 @@ |
22 |
#bind_address |
24 |
#bind_address |
23 |
|
25 |
|
24 |
# Port to use for the default listener. |
26 |
# Port to use for the default listener. |
25 |
-#port 1883 |
27 |
-#port 1883 |
26 |
+port 1883 |
28 |
+port 1883 |
27 |
|
29 |
|
28 |
# The maximum number of client connections to allow. This is |
30 |
# Bind the listener to a specific interface. This is similar to |
29 |
# a per listener setting. |
31 |
# bind_address above but is useful when an interface has multiple addresses or |
30 |
@@ -224,7 +224,7 @@ |
32 |
@@ -267,7 +267,7 @@ |
31 |
# containing the CA certificates. For capath to work correctly, the |
33 |
# containing the CA certificates. For capath to work correctly, the |
32 |
# certificate files must have ".crt" as the file ending and you must run |
34 |
# certificate files must have ".crt" as the file ending and you must run |
33 |
# "openssl rehash <path to capath>" each time you add/remove a certificate. |
35 |
# "openssl rehash <path to capath>" each time you add/remove a certificate. |