From 4ec382e8bc368a54186be4f23e462b559999276f Mon Sep 17 00:00:00 2001
From: Stefan Haun <tux@netz39.de>
Date: Sat, 12 Dec 2020 17:18:55 +0100
Subject: [PATCH] Add mosquitto configuration for Netz39

this containes the read-bridge from platon
---
 templates/mosquitto.conf.j2 | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 templates/mosquitto.conf.j2

diff --git a/templates/mosquitto.conf.j2 b/templates/mosquitto.conf.j2
new file mode 100644
index 0000000..64c7575
--- /dev/null
+++ b/templates/mosquitto.conf.j2
@@ -0,0 +1,15 @@
+user root
+
+persistence true
+persistence_location /mosquitto/data/
+log_dest file /mosquitto/log/mosquitto.log
+
+# Bridge to platon
+connection br-pottwal-to-platon
+address platon:1883
+cleansession false
+clientid br-pottwal-platon
+start_type automatic
+notifications false
+try_private true
+topic # in 2