You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
930 B
Diff
27 lines
930 B
Diff
Description: Set local configuration.
|
|
Author: Roger Light <roger@atchoo.org>
|
|
Forwarded: not-needed
|
|
--- a/Makefile
|
|
+++ b/Makefile
|
|
@@ -35,6 +35,7 @@
|
|
set -e; for d in ${DOCDIRS}; do $(MAKE) -C $${d} install; done
|
|
$(INSTALL) -d ${DESTDIR}/etc/mosquitto
|
|
$(INSTALL) -m 644 mosquitto.conf ${DESTDIR}/etc/mosquitto/mosquitto.conf.example
|
|
+ $(INSTALL) -m 644 debian.conf ${DESTDIR}/etc/mosquitto/mosquitto.conf
|
|
$(INSTALL) -m 644 aclfile.example ${DESTDIR}/etc/mosquitto/aclfile.example
|
|
$(INSTALL) -m 644 pwfile.example ${DESTDIR}/etc/mosquitto/pwfile.example
|
|
$(INSTALL) -m 644 pskfile.example ${DESTDIR}/etc/mosquitto/pskfile.example
|
|
--- /dev/null
|
|
+++ b/debian.conf
|
|
@@ -0,0 +1,10 @@
|
|
+# Place your local configuration in /etc/mosquitto/conf.d/
|
|
+
|
|
+pid_file /var/run/mosquitto.pid
|
|
+
|
|
+persistence true
|
|
+persistence_location /var/lib/mosquitto/
|
|
+
|
|
+log_dest file /var/log/mosquitto/mosquitto.log
|
|
+
|
|
+include_dir /etc/mosquitto/conf.d
|