Enable only if true

This commit is contained in:
juarez 2023-08-03 15:58:19 +02:00
parent 43c45f0628
commit 840096d1d5
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
#!/bin/bash
if [ -n "$ENABLE_EXPORTER" ]; then
if [ "$ENABLE_EXPORTER" == true ]; then
log INFO "Exporter setup detected -- will start Exporter service."
OVERRIDE+=" -f ./$PROJECT/modules/exporter-compose.yml"
# TODO: Generate password in another way so that not all passwords are the same?