summaryrefslogtreecommitdiff
path: root/user/mosquitto/openrc-conf.patch
diff options
context:
space:
mode:
authorMax Rees <maxcrees@me.com>2019-08-27 19:05:42 -0500
committerMax Rees <maxcrees@me.com>2019-08-27 19:14:37 -0500
commita1ee5f0e6ac73ea9cc57706114ed0b43d6c691fe (patch)
treea3758e4fc94124eef2119ace9c4ac80881ac52a3 /user/mosquitto/openrc-conf.patch
parent4a3fb555bd3f8141225a2b5e40f2a5fd7d9484ec (diff)
downloadpackages-a1ee5f0e6ac73ea9cc57706114ed0b43d6c691fe.tar.gz
packages-a1ee5f0e6ac73ea9cc57706114ed0b43d6c691fe.tar.bz2
packages-a1ee5f0e6ac73ea9cc57706114ed0b43d6c691fe.tar.xz
packages-a1ee5f0e6ac73ea9cc57706114ed0b43d6c691fe.zip
user/mosquitto: new package
In the future: * cunit may be added to run unit tests. * libwebsockets may be added for websocket support.
Diffstat (limited to 'user/mosquitto/openrc-conf.patch')
-rw-r--r--user/mosquitto/openrc-conf.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/user/mosquitto/openrc-conf.patch b/user/mosquitto/openrc-conf.patch
new file mode 100644
index 000000000..d1c5ee04b
--- /dev/null
+++ b/user/mosquitto/openrc-conf.patch
@@ -0,0 +1,20 @@
+--- 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.