json2collectdmqtt: fix run.sh

This commit is contained in:
Starbeamrainbowlabs 2022-06-30 22:36:16 +01:00
parent 0194837952
commit 7b519f17a7
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -10,4 +10,8 @@ if [[ -n "${MQTT_SERVER}" ]]; then
JSON2COLLECTDMQTT_ARGS="${JSON2COLLECTDMQTT_ARGS} --server ${MQTT_SERVER}"; JSON2COLLECTDMQTT_ARGS="${JSON2COLLECTDMQTT_ARGS} --server ${MQTT_SERVER}";
fi fi
exec json2collectdmqtt start export MQTT_USERNAME;
export MQTT_PASSWORD;
export JSON2COLLECTDMQTT_ARGS;
exec json2collectdmqtt start;