Commit f8c75f16 by Chavee Issariyapat

allow setting VERNEMQ_MAX_MESSAGE_SIZE

parent 351c2bce
......@@ -105,6 +105,9 @@ EOF
echo "vmq_webhooks.webhook4.no_payload = ${VERNEMQ_WEBHOOK_NO_PAYLOAD}" >> /etc/vernemq/vernemq.conf
fi
if env | grep -q "VERNEMQ_MAX_MESSAGE_SIZE"; then
echo "max_message_size = ${VERNEMQ_MAX_MESSAGE_SIZE}" >> /etc/vernemq/vernemq.conf
fi
echo "########## End ##########" >> /etc/vernemq/vernemq.conf
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment