From 3ac94a843a5000ef3128fd1fb76e9b1c4a20c842 Mon Sep 17 00:00:00 2001 From: NilsGrunwald Date: Wed, 3 Nov 2021 17:44:40 +0100 Subject: [PATCH] Added persistence to mosquitto config --- mosquitto/mosquitto.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mosquitto/mosquitto.conf b/mosquitto/mosquitto.conf index f58e2d6..c7d912a 100644 --- a/mosquitto/mosquitto.conf +++ b/mosquitto/mosquitto.conf @@ -212,7 +212,11 @@ # listener 0 /tmp/mosquitto.sock # # listener port-number [ip address/host name/unix socket path] + listener 1884 +persistence true +persistence_location /mosquitto/data/ +log_dest file /mosquitto/log/mosquitto.log # By default, a listener will attempt to listen on all supported IP protocol # versions. If you do not have an IPv4 or IPv6 interface you may wish to