fix dirname in template
This commit is contained in:
parent
51dc588864
commit
9f6ba0a595
@ -452,7 +452,7 @@ persistence {{ mosquitto_persistence_enabled | lower }}
|
|||||||
|
|
||||||
{% if mosquitto_persistence_enabled %}
|
{% if mosquitto_persistence_enabled %}
|
||||||
persistence_file {{ mosquitto_persistence_path | basename }}
|
persistence_file {{ mosquitto_persistence_path | basename }}
|
||||||
persistence_location {{ mosquitto_persistence_path | dirname }}
|
persistence_location {{ (mosquitto_persistence_path | dirname) + '/' }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
# =================================================================
|
# =================================================================
|
||||||
|
Loading…
Reference in New Issue
Block a user