100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps
Java asset-managementbuildingdashboarddataplatformdevice-managementedge-computingenergyenergy-managementenergy-monitorfleet-managementfleet-telematicsiotiot-applicationiot-platformmodbusmqttmqtt-brokerota-updaterules-enginesmartcity
Fixed bug in proxy bash file
Michael Rademaker637f1b526cb8
diff --git a/proxy/entrypoint.sh b/proxy/entrypoint.shindex 40fb05374..c3c005c6f 100644--- a/proxy/entrypoint.sh+++ b/proxy/entrypoint.sh@@ -17,7 +17,7 @@ LE_CMD="/usr/bin/certbot certonly --config-dir ${LE_WORK_DIR} -w ${LE_WEB_ROOT}mkdir -p $LE_CERT_ROOT# Configure haproxy-if [ -n $"LOCAL_CERT_FILE" ]; then+if [ -n "${LOCAL_CERT_FILE}" ]; thenexport CERT_FILE="${LOCAL_CERT_FILE}"export LOCAL_CERT_DIR="$(dirname ${LOCAL_CERT_FILE})"HAPROXY_CONFIG="/etc/haproxy/haproxy.cfg"