From 745158b01013863dbe389c009a9b48ff27a31724 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Mon, 5 Nov 2018 20:19:12 +0100 Subject: [PATCH] fix template --- templates/etc/mosquitto/mosquitto.conf.j2 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/templates/etc/mosquitto/mosquitto.conf.j2 b/templates/etc/mosquitto/mosquitto.conf.j2 index 8c2f28c..15f572b 100644 --- a/templates/etc/mosquitto/mosquitto.conf.j2 +++ b/templates/etc/mosquitto/mosquitto.conf.j2 @@ -617,7 +617,9 @@ password_file {{ mosquitto_password_auth_file }} # # If an auth_plugin is used as well as acl_file, the auth_plugin check will be # made first. -#acl_file +{% if mosquitto_acl_enabled %} +acl_file {{ mosquitto_acl_file }} +{% endif %} # ----------------------------------------------------------------- # External authentication and topic access plugin options