Fixed visquitto's logging issue
build-and-push / check-branch (push) Successful in 14s
build-and-push / prepare (push) Successful in 9s
build-and-push / build (amd64, linux/amd64) (push) Successful in 1m5s

This commit is contained in:
2026-10-12 16:58:40 +03:30
parent f53f2f6309
commit 2b42f58803
3 changed files with 7 additions and 5 deletions
+2 -4
View File
@@ -34,10 +34,8 @@ chmod 600 "$CERTDIR/key.pem"
# ---- Defaults in /config (regenerated at every start) ----
cat > "$CONFIG/mosquitto.conf" <<EOF
log_dest stdout
log_type error
log_type warning
log_type notice
$(jq -r '.log_dest[]? | "log_dest \(.)"' /data/options.json)
$(jq -r '.log_type[]? | "log_type \(.)"' /data/options.json)
log_timestamp_format %Y-%m-%d %H:%M:%S
persistence true