json2collectdmqtt: fix run.sh
This commit is contained in:
parent
0194837952
commit
7b519f17a7
1 changed files with 5 additions and 1 deletions
|
@ -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;
|
Loading…
Reference in a new issue