summaryrefslogblamecommitdiff
path: root/user/mosquitto/openrc-conf.patch
blob: d1c5ee04b5036597fc942c533e6e245ab6527b10 (plain) (tree)



















                                                                             
--- mosquitto-1.6.4/mosquitto.conf	2019-08-01 14:50:01.000000000 -0500
+++ mosquitto-1.6.4/mosquitto.conf	2019-08-27 18:16:52.290542736 -0500
@@ -158,7 +158,7 @@
 # This should be set to /var/run/mosquitto.pid if mosquitto is
 # being run automatically on boot with an init script and
 # start-stop-daemon or similar.
-#pid_file
+pid_file /var/run/mosquitto.pid
 
 # Set to true to queue messages with QoS 0 when a persistent client is
 # disconnected. These messages are included in the limit imposed by
@@ -585,7 +585,7 @@
 # Note that if the broker is running as a Windows service it will default to
 # "log_dest none" and neither stdout nor stderr logging is available.
 # Use "log_dest none" if you wish to disable logging.
-#log_dest stderr
+log_dest file /var/log/mosquitto.log
 
 # Types of messages to log. Use multiple log_type lines for logging
 # multiple types of messages.